510
questions
0
votes
1
answer
68
views
Send events to Google Tag Manager when Google Sign-in button is clicked
I'm working on implementing custom events in Google Tag Manager for my website, and it’s mostly going well — except for one issue. I'm trying to trigger a GTM event when the Google Sign-in button is ...
26
votes
5
answers
9k
views
Using Google OIDC with code flow and PKCE
after trial and error it seems to me that Google OIDC does not support the code flow without supplying the client secret:
https://developers.google.com/identity/protocols/oauth2/native-app#exchange-...
3
votes
1
answer
68
views
Why doesn't Android Studio recognize the dependencies for googleId
I'm trying to build an app that uses Google sign in, but I get unresolved references errors for GoogleIdTokenCredential, GoogleIdTokenParsingException, and GetGoogleIdOption
in this code:
...
0
votes
0
answers
117
views
OAuth2 google drive AccesToken refresh using Google Credential Manager + AuthorizationClient
My question: How can I request a OAuth2 credential object to access the Google Drive API, that is automatically refresh after the accessToken is expired?
What I did:
I followed the latest suggestions ...
1
vote
1
answer
319
views
How to get authorized user's email and how to sign out the authorized user using Google Identity in android?
I am calling requestGoogleDriveAuthorization() method for a button click listener and authorize a user.
private val authorizationResultLauncher = registerForActivityResult(
...
0
votes
1
answer
38
views
Blazor WASM OIDC authentication with Google fail
I've implemented a Blazor WASM application wiht Google authentication as described
here.
If I select "Log in", I get redirected to Google and I can insert my username and password.
At that ...
0
votes
1
answer
90
views
Getting warning message 'Misuse of Sign in with Google API' in 'Android Lint: Correctness'
I am seeing a warning message in Android Studio when I inspect my project.
in 'Android Lint: Correctness', the warning is:
Misuse of Sign in with Google API,
Use of :googleid classes without use of ...
3
votes
1
answer
120
views
Getting Integer value from googleIdTokenCredential.id but expected String
I want to create login system using 'GoogleIdTokenCredential'.
But the problem is sometimes googleIdTokenCredential.id returns integer and googleIdTokenCredential.displayName returns null value.
But ...
0
votes
0
answers
52
views
Google Identity Services CSP violation even with nonce
I am building a basic Sign in with Google button for web.
I have a Content Security Policy which allows the script and stylesheet:
https://accounts.google.com/gsi/client (script)
https://accounts....
0
votes
2
answers
241
views
How to use the Google Identity Credentials library?
I'm trying to use this relatively new :play-services-identity-credentials library (release notes):
implementation("com.google.android.gms:play-services-identity-credentials:16.0.0-alpha03")
...
0
votes
1
answer
133
views
Credential Manager causes ProtoDataStoreConfig<xgc> doesn't match previous call
From the official page of Sign in your user with Credential Manager, it is clearly written there
Credential Manager is a Jetpack API that supports multiple sign-in methods, such as username and ...
0
votes
0
answers
55
views
How to properly implement a custom-styled authentication button?
I need to add Google authentication to my website (Vue.js), which should be triggered by clicking a button.
I have the script: Script Link
Initialization:
window.google.accounts.id.initialize({
...
4
votes
1
answer
1k
views
How to handle login/logout using @react-oauth/google
I am developing a side project that allows a user to login with Google and access/manage their Google Books content.
So far, I have Sign in With Google working via @react-oauth/google. Here is the ...
0
votes
1
answer
91
views
How to set up Google OAuth clients to split authorization and token exchange between client and server?
I'm developing a project in which I'll be gathering consent from Google users to make Google Business Profile API requests on their behalf.
I have a React front-end and a Rails back-end. I've been ...
3
votes
2
answers
2k
views
Google Identity Platform -> Identity Provider
We are thinking of using Google Identity Platform as our Customer IAM.
We have applications that could then use Google Identity Platform as their OAuth2 Authorization Provider (and also for OIDC ...