Is storagerelay in the Redirect URL a Bug in Google OAuth2 Login?
When using Google for OAuth2 login, I found that the https://accounts.google.com/gsi/client JavaScript library adds the storagerelay field to the redirect URL in popup mode. For example, if I set http://example.com/callback in the console, the redirect URL becomes storagerelay://http/example.com?id=auth12345 when obtaining the code. In the second step, when using the code to request an access token, if I set the redirect URL to example.com/callback, it shows a redirect URL mismatch error. If I set it to http://example.com/callback, it indicates that the application violates Google’s security restrictions. However, if I use storagerelay://http/example.com?id=auth12345, it works correctly. I believe this is not normal.
Google OAuth Authentication Fails for Under-18 Accounts
I’m having trouble authenticating some Google emails.
google OpenID, get only an id_token
I’m trying to retrieve an ID token from the OpenID login provided by google on their services.
Error in oAuth2 Google APIs – invalid_request “You can’t sign in to this app because it doesn’t comply with Google’s OAuth 2.0 policy”
I have a project in Google cloud and an oauth2 client (web application) created for the same. As mentioned in the Google docs for using oAuth2 I first sent a HTTP GET to get the authorization code.
Google OAuth keeps saying “redirect_uri_mismatch” even I have registered the URI
My config at Google’s console is