https://jam.dev/c/61d56c08-9c87-4dff-af00-f57797636cea
Always getting invalid grant
I tested the oauth flow with a plugin and it works, but desperately want to be free of plugins
Here’s the api call:
https://jam.dev/c/61d56c08-9c87-4dff-af00-f57797636cea
Always getting invalid grant
I tested the oauth flow with a plugin and it works, but desperately want to be free of plugins
Here’s the api call:
I haven’t set this up myself, but it looks like gmail is expecting a refresh token and you’re not sending one. Did you notice that?
Sorry I should have removed that for this - that’s an auto token refresh that returns an error because the above doesn’t work
This is what I’m getting back on the above
Okay fixed Guess what - the problem was
https://bubble.io/plugin/gmail-api---receive-and-send-emails-1607550192575x126324510825381890
the HTML element of this plugin invalidated my auth code as you can only use it once. I was trying to be free from this plugin but didn’t remove it fully
If anyone struggles with the Gmail api - once you have it working - it’s dead simple- no plugins needed