Is there method to validate the access token using google token endpoint in Authlib? #Authlib

204 Views Asked by At

I am trying to evaluate authlib support for following use cases with google oauth2.

  1. Fetch the authorization code
  2. Fetch the token
  3. Validate the token against google token endpoint
  4. Refresh the token using refresh token

I could implement 1, 2 and 4. However could not find any method or mechanism to validate the obtained access token against the google token endpoint. Requirement is to validate the token for the expiry/active before proceeding with further operations in the server.

Is there method to validate the access token using google token endpoint in Authlib?

I tried using the introspection method which didn't work.

0

There are 0 best solutions below