Google Login Button

Hello,

I am trying to configure a Google Sign-In button for my app, but after authentication, I’m unable to retrieve the user information to confirm the login.

Here’s what I have set up so far:

  • A new resource created for Google OAuth 2.0:

  • A login button component configured with this resource:

  • A REST API call on page load to retrieve user information and confirm successful login. This call works in the build environment:

Could you guide me on how to properly set up Google authentication to ensure successful login and user info retrieval on the public URL?

Thank you!

Hi @Florian_Assous Thanks for reaching out!

The login button doesn't necessarily keep track of the status of authentication, so I would recommend the rest call on page load, as you've done.

Unfortunately, we don't support any user authentication in public apps. Users will need to be authenticated as a Retool user in order to use resources with user auth.

1 Like