-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After login success parsedToken, isAuthenticated and profile is null or false (v 0.9) #18
Comments
You are right I didn't update the example/doc yet for changes since 0.9.0. The authenticatedObs may return false during init phases, you may have to filter the returned values to ensure auth sucess and to get the token : Keycloak.authenticatedObs.subscribe(authenticated => {
if (authenticated) {
this.identity = keycloak.tokenParsed;
}
}); |
I tried with
inside the |
I can not get the token, login works but I can not load user data, token, and more |
@ebondu Hi! do you plan to publish sources of 0.9.x version? |
Hi, |
I pushed last changes to the ng4 branch |
Hi @ebondu. As the documnetation doesn't match the npm version, i can't find a way to make your wrapper work with 0.9.1, even though i can see this is supposed to do exactly what i need the way i want it. Could you please update your documentation ? Thanks. |
Hi @AlanCrevon, |
After login the following variables are false or null
this is the HomeComponent
I have change the
Keycloak.tokenParsed
withkeycloak.tokenParsed
after login success
The text was updated successfully, but these errors were encountered: