danschultzer / phoenix_oauth2_provider

Get an OAuth 2 provider running in your phoenix with controllers, views and models in just two minutes
MIT License
84 stars 41 forks source link

Support for token introspection #40

Open Ross65536 opened 3 years ago

Ross65536 commented 3 years ago

From what I can tell there currently isn't a way for a third party service to tell if an access token is still valid without querying the authorization server's DB directly.

While the OAuth 2 specification RFC doesn't explicitly specify how to check if an access token is valid there are 2 main ways in which it can be done:

Ross65536 commented 3 years ago

I'm currently working on adding support for this using an introspection endpoint