Google OAuth Issues with tools #571
Replies: 1 comment 1 reply
-
Hmm, dang, this Google auth stuff has been tricky. We probably should add a remove button. Originally, the way I wrote it was that if an API call was ever made which received certain error code responses from google then the authentication (or maybe it’s the credential) would be instantly deactivated. So it was supposed to “self correct” in this way if you disconnected it on the google side. However, I too have gotten it into a state once or twice where I had to go into console and manually delete it. It’s probably worth us just having a remove button, as you suggest. Regarding the unexpected error with Google Tasks, what about Gmail? If Gmail is working for you (it can send emails for you) then I have a hunch as to what’s wrong with Google Tasks. I have my Google Task list set up in a specific way and since this whole thing was pretty experimental I made it assume that certain lists would exist. So if Gmail is working for you and this is only an error with Google Tasks, then that’s my hunch. I can document my set up. But note that there are some annoying limitations with the Google Tasks API that I could not work around (and google support acknowledged the limitations exist). I’m convinced that Zapier has access to an undocumented Google Tasks API which they won’t give me access to and that’s why it can do more than I was able to. Anyway, let me know about Gmail. |
Beta Was this translation helpful? Give feedback.
-
Google OAuth authentication is working fine for me to create an account and log in, but I've had several issues getting the Google Email and Tasks tools working.
This is not urgent, but I'll list the issues here in case there are suggestions on how to resolve them.
GmailCredential.delete
andGmailTasksCredential.delete
, which then re-enables the buttons. There should be a 'Remove' button, shouldn't there? Otherwise there is no way to re-add the app permissions at myaccount.google.com.And even after deleting the connections at myaccount.google.com and the credentials in the database several times I could still not get the tools to work (see next issue).
An unexpected error occurred (Missing permissions. Tell the user to: Add your Google Tasks permissions again in your account settings.
. I have gotten less helpful errors too (such as 'credentials variable undefined', especially when not using OAutho to log in), so maybe some better logging can be added to the rails log?Beta Was this translation helpful? Give feedback.
All reactions