Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to implement access_token validation? #324

Open
Amoki opened this issue May 27, 2019 · 1 comment
Open

How to implement access_token validation? #324

Amoki opened this issue May 27, 2019 · 1 comment

Comments

@Amoki
Copy link

Amoki commented May 27, 2019

I have an OP and an API.

The API receives a call with an access_token. The API must know from where this token is coming:
Is it a user token? Through which client?
Or is it a client token (client_credentials)?
Which scopes this token has?

The /userinfo endpoint only works if the openid scope is used and there is no way to make it mandatory.
The /introspect endpoint tells us which app and what are the scopes but can't tell us if the token belongs to a user without openid scope or a client.

How can I validate an access_token?

@Cediddi
Copy link

Cediddi commented Mar 25, 2020

I'm also having this issue, how did you solved your problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants