I’m unable to create a successful OAuth2 login with Google.
I switched to Code mode and log the response from the request to get access_token from auth code.
I can see the access_token here when i look at the console log via z.console.log
When I inspect the Bundle via the z.console.log I see some :censored: value
The final step in my connection is to call https://www.googleapis.com/userinfo/v2/me with the Bearer token set as access_token
However it is just erroring out saying im not passing the access_code
Using bundle.authData.access_token does not work
But when I take the access_token from the console log and place it here - it works
What’s up with bundle.authData.access_token?
Weird - it looks like it works now.
Wonder if a bug got fixed?
@Sebastian Patten 👋
bundle.authDatais the correct field prefix to use: https://platform.zapier.com/cli_docs/docs#bundleauthdata
As far as I’m aware, there was no open bug for this, so I’m not sure why you were running into trouble before 🤔 Glad to hear it is working as expected for you now!