Open johnfabian opened 3 months ago
Using the settings userStore
gives you full control. See https://authts.github.io/oidc-client-ts/interfaces/UserManagerSettings.html#userStore
I am but the code has export type UserProfile = IdTokenClaims; so the idtokenclaims and being added to the profile regardless and the filterProtocolClaims:true doesn't do anything so I'm just creating a custom Storage and filtering out profile. profile shouldn't display all those properties by default and should be optional to even store Profile in storage
How can I either hide the UserProfile in storage since it is displaying in plain text and I have role claims in the idToken and I don't want the idtoken claims in the UserProfile. I've used other oidc clients for other technologies and that was never displayed like that. Is there a way to turn that off?
loadUserInfo: false, filterProtocolClaims: true, response_type: 'id_token token'