puiterwijk/flask-oidc

Decorator for validating token

npcode15 opened this issue · 0 comments

Hello,

I would like to know if there is a separate decorator for validating the token?
or is the use of @auth.oidc_auth dual purpose?

Login and logout with browser works perfectly however, I am not able to test the API using Postman.
Steps

  • Logged in (using browser), received the token
  • Copied the token to Postman 'Auth' to be used as a 'Bearer'
  • Called a resource (API) with '@auth.oidc_auth(default)' decorator - Postman returned the HTML page as it requires the login process again (probably discarded the access token)

Please let me know.

Thank you.


I apologize - Invalid Issue