google-signin-unity
google-signin-unity copied to clipboard
How to get the Access Token to use with Google services
Is it possible for Google SignIn return the OAuth Token that can be used for accessing Google services like Classroom, Docs, Sheets API?
I had asked this question on Stackoverflow but no response. https://stackoverflow.com/questions/62058765/firebase-idtoken-to-google-oauth2-access-token-in-unity
Thanks, Ash
There is an endpoint for this in googe api.
You should post to "https://oauth2.googleapis.com/token" with parameters
{
client_id:"
then you can get the access_token from that post.