Forum Academy Marketplace Showcase Pricing Features

Is it possible to get the access token response using the OAuth2 User-Agent Flow method with Google API

I use the OAuth2 User-Agent Flow method to authenticate Google users.

The authentication process works fine.

But I need to know if the users has granted the scopes so the app can perform correctly.

The information is given by Google in the access token response.

Is there any way to get this response with OAuth2 User-Agent Flow?

Try this endpoint

1 Like

Thanks Jici for your feedback!

(I reply lately because I just came back from my paternity leave)

Do you have any additional ressources from Google on how I can use this endpoint ?

It seems I need to use the acess token as a parameter but Bubble’s OAuth2 User-Agent Flow method doesn’t seem to give access to it

If you have set user-agent flow, Bubble handle the access token for you.
Just add new api endpoint with this url
Don’t forget that API Connector will not keep your connection alive. You will need to signup in debug mode again to be able to initialize new call.

1 Like

Many thanks, for your very quick response!

I test it right now then.

I confirmed that it works pretty well, thanks a lot @Jici !

1 Like