Opaque - reference token validation
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
Hi,
I have an identity provider OIDC compliant which issues a JWT ID token and an opaque access token (or reference token). Microsoft offers a way to validate a JWT bearer however, I did not see an alternative for opaque tokens.
Describe the solution you’d like
I would like to have a method extension that works the same as ServiceCollection.AddJwtBearer()
extension.
We would provide almost the same identity provider information such as the issuer uri, user info, and most importantly the introspect endpoint, which checks if the access token is valid or not.
Finally, we could populate the identity principal with the userinfo endpoint, right after validating the token.
Additional context
No response
Issue Analytics
- State:
- Created 8 months ago
- Reactions:3
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Opaque Tokens
The opaque token serves as a reference to the user attributes and token metadata. Structured token (passed by value): Its format is well-defined ......
Read more >oauth - What is an opaque token?
Opaque tokens: Tokens in a proprietary format that typically contain some identifier to information in a server's persistent storage. To ...
Read more >OAuth 2.0 Resource Server Opaque Token
Typically, an opaque token can be verified via an OAuth 2.0 Introspection Endpoint, hosted by the authorization server. This can be handy when ......
Read more >JSON Web Token(JWT) vs Opaque Token
The opaque token is simply a primary key that references a database entry that has the data, instead of storing user identity and...
Read more >Opaque Access Tokens
An opaque or a reference token is a random and a unique string of characters which has been issued by the token service...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Aggh doh. This is what I get for opening github when I wake up 😃
Agreed! This would be nice to have for those of us who don’t get JWT’s back!