Questions tagged [keycloak-angular]
35 questions
0
votes
1 answer
keycloak-angular: isLoggedIn() always false after page reload
I am trying to secure a Spring Boot Application with Angular as frontend.
Therefore I am using keycloak-angular and keycloak-js.
In every example you can find, it is always assumed that all routes should be secured.
I now have some routes that are…

JToto
- 1
0
votes
1 answer
403 Forbidden while accessing Leycloak rest API with a valid user credentials
I have set up a Keycloak server and a user named 'sample' is given permissions to access the rest ADMIN APIs, I granted permissions to the relevant realm and client_id. And I'm able to access the rest APIs using the postman service using this user…

Lisa
- 655
- 3
- 10
- 34
0
votes
1 answer
Accessing keycloak functions with keycloak-angular
In my Angular app I am initializing on load keycloak this way:
app.module.ts:
providers: [
{
provide: APP_INITIALIZER,
useFactory: initializer,
deps: [ KeycloakService, AppService ],
multi: true
}
],
in…

Filip Witkowski
- 795
- 3
- 14
- 24
0
votes
3 answers
Keycloak on Angular - not getting correct status on load
Using latest angular (11), latest keycloak-angular and keycloak-js.
On page load, when I initialize keycloak I want to get loggedin status. I'm getting always false, even if the session is active.
This is my initializer code:
import {…

Filip Witkowski
- 795
- 3
- 14
- 24
0
votes
0 answers
Why Angular keycloak required-login not redirect?
i am integrating angular keycloak 7.3.1 into my application in angular 9
After initializing keycloak I do not go to the keycloak login page.
I don't see any calls starting, neither login, nor token, nor info.
How can I solve this problem?
I don't…

Emanuele Galeotti
- 49
- 6