Skip to content

Need information for external provider #112

Discussion options

You must be logged in to vote

Well, you can of course craft and id_token in a token exchange flow, but IdentityServer would not be aware of it. When an id_token is issued, the client should also be enlisted as participating in the session. If you just issue an id_token through token exchange, then that will not create a session on the IdentityServer.

Then there's a security dimension of it: An id_token should strictly be a business between the client and the OIDC Provider. An access token on the other hand is sent to APIs to authenticate the call. In a normal setup, there is no way that an API can get to an id_token because that is only available through an authorization flow where a registered client application inte…

Replies: 3 comments 2 replies

Comment options

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

Comment options

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

Answer selected by AndersAbel
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants