Login Test URL: https://www.googleapis.com/oauth2/v1/userinfo
You can leave the rest of the fields blank (e.g. Base URL, Audience, etc.)
That's it! Now the resource is ready to use. For any app that uses this new google resource, when a user isn't authenticated in presentation mode, they'll see the following auth modal prompting them to authenticate:
Were you able to solve this?
I get the same issue.
It works in the resource screen when I want to authenticate against the google OAuth but when I create an auth button then I also get
Would you mind sharing a screenshot of your resource setup page with any sensitive information redacted? If you rather share it privately you can also feel free to reach out to support@retool.com or send it in a DM.
Curious to know too if this error shows up immediately after refreshing your app and if you've seen any other errors during the testing process
Hi @Kabirdas
Thanks for replying.
I figured it out in the meantime.
My mistake was that I was setting up OAuth for prod in the resource window and it all worked.
Then I was switching to staging, even though OAuth for staging was not configured (IMO that's a bug on retools side, the UI should not have let me switch to staging).
Then when I was on staging and clicked the oauth button I got the message above.
Once I configured the OAuth resource for staging also, then everything worked