508
questions
0
votes
1
answer
55
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 ...
3
votes
1
answer
65
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
108
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 ...
0
votes
1
answer
36
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
88
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
119
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
48
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
238
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
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({
...
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
1
answer
89
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 ...
0
votes
0
answers
95
views
Google Identity Services API requestAccessToken() closes immediately
I'm attempting to use Google's Developer API Identity Services.
I'm following along with this guide: https://developers.google.com/identity/oauth2/web/guides/use-token-model
I've already created an ...
0
votes
1
answer
170
views
Google OAuth Granular Permissions with Google Identity Service
Google is currently transitioning their OAuth sign-in flow to granular permissions.
In their recommended approach for Android applications they write:
If you use auth.api.signin SDK from Play ...
1
vote
2
answers
558
views
Get serverAuthCode using Credential Manager
We are updating our application to use the CredentialManager for logging in, but we are not finding a way to get the serverAuthCode from this new implementation. We need this information to maintain ...
1
vote
1
answer
313
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(
...