Skip to content

How to configure user info endpoint to get the user details in implicit code flow? #4217

Answered by israel-hdez
sskmail14 asked this question in Q&A
Discussion options

You must be logged in to vote

Most of the time, I've seen that people get the needed data by adjusting requested scopes.

The token that the OpenID Server returns at authentication may not carry user's email unless requested (this depends a lot on the OpenID server config). If you want the e-mail, I think you need to request the "email" scope (which is a default if no scopes are configured in the KialiCR). So, I suggest you to double-check what scopes you have configured (if any). The problem with implicit flow is that some openid providers choose to trim down claims to provide a token that can fit in the URL (with good reason). So, there is a chance that you will need to switch to the authorization code flow to have t…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@sskmail14
Comment options

@jmazzitelli
Comment options

Comment options

You must be logged in to vote
1 reply
@jmazzitelli
Comment options

Comment options

You must be logged in to vote
2 replies
@sskmail14
Comment options

@israel-hdez
Comment options

Answer selected by sskmail14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #4211 on July 26, 2021 13:26.