How do I get an access token to use with a Google API using the auth0.webAuth client-side JS library with React? The example app only shows authenticating a user, but not how you might then use the authenticated connection token to call a Google API. I can authenticate using a google-oauth2 connection but the access token that I get back in the parseHash call doesn’t work when I use it with a Google API. If I try to validate it using https://www.googleapis.com/oauth2/v1/tokeninfo?access_token= I get a response telling me that it’s not valid.
This is outlined in the following doc: