I’m looking for ways to get values in id_token in fetch user profile script of custom social connector. Some identity providers which support OIDC hybrid flow return id_token with access token and I want to fetch some of user attributes from id_token.
I tried to access id_token in the script like “ctx.idToken”, but it did not work.
Thank you so much for your reply!
I can now access the id_token, however when I try to use jwt to decode it I get an error “jwt.decode is not a function”, did you get the same error?