I have successfully enabled Auth0 for my AngularJs client application and I am using the Auth0 token to security access my C# Web API. I am not working on making calls from my API to the Google API in order to read my users calendar and other scopes they agreed to.
I followed the tutorials and I have successfully retrieved my user’s Google access_token by calling the Auht0 management API.
When does that access_token expire? I noticed that in the list of Identities, the google-oauth2 entry has an “expires_in” field that is equal to 3599.
Can this value be used?
Is it seconds or minutes?
It is 3599 from what? Is it from the user’s last Auth0 login date time?
Essentially, I am trying to figure out if I can look at that time and realize that the Google access_token has expired and get a new one.