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:
- However, it fails when using the public URL:
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!