I'm trying to use the TokenHelperService to decode the access token (keycloak only show roles in access tokens) but it's exported as export { TokenHelperService as 傻e } from './src/services/oidc-token-helper.service';
Would you mind adding it to the public_api or exported in a usable way?
Thanks
Hi @yelhouti
TokenHelperService is a internal service. I could add this to the public api, if it is required. Why do you require this?
Her are are the public APIs:
Greetings Damien
I tried to explain it in the request, I need to something like:
getPayloadFromIdToken(encode = false): any {
const token = this.getIdToken();
return this.tokenHelperService.getPayloadFromToken(token, encode);
}
More precisely, I need getUserData equivalent using accessToken
Release version 9.0.3
@damienbod you sir, are awesome :) thank you very much for the great lib
Most helpful comment
@damienbod you sir, are awesome :) thank you very much for the great lib