512 questions
2
votes
0
answers
246
views
How can I sign in a user using SSO with the identity platform REST API
I'm want to use the identity platform REST API to sign in my users. But looking at the documentation here I can't seem to find how to sign in a user using SSO or Phone number. How can I do this? Or ...
3
votes
1
answer
181
views
How to hookup a Cloud Function for Google Identity Platform's beforeSignIn event via Terraform?
I want to setup a cloud function via Terraform for beforeSignIn event in Google Identity Platform. Google cloud documentation explains how to do this manually as shown in this screenshot.
My question ...
0
votes
2
answers
635
views
No call back for Google identity services
I was informed by google that the google_signin2 will be sunset and I need to move to their Identity Services. Signin2 was working fine and using HTML with JavaScript. I am trying to get Google's ...
1
vote
1
answer
982
views
Prevent Google One Tap to show on some pages
I am using both Google One Tap and Signin with Google button in my site. Google One Tap is showing on all pages and Signing with Google button is visible only on the login page.
I am initializing both ...
0
votes
1
answer
286
views
Finding the correct SAML Identity provider to authenticate a user
I am trying to configure Google Cloud Identity Platform to use multiple SAML identity providers. Still, I'm stuck at the point of selecting the right IdP for every person attempting to log in.
I have ...
0
votes
0
answers
122
views
How to restrict access to backend App Engine application from a specific EXTERNAL React-JS frontend?
I would like to access all my Flask routes of my Python application running in a Google App Engine only from a React-JS frontend and therefore deny all other requests which are not coming from that ...
0
votes
1
answer
441
views
What is the proper scope to use in IAMCredentialsClient for a GCP cloud function 2nd gen that requires authentication from a service account?
I have this code to generate an access token for a GCP Cloud Function 2nd gen:
const {IAMCredentialsClient} = require('@google-cloud/iam-credentials');
// Creates a client
const client = new ...
3
votes
1
answer
549
views
Google Identity Service Sign In with Google button flicker
I am trying to use the Sign In with Google button from the Google Identity Service. Each time I render one of the Sign In with Google buttons the font flickers.
The flickering seems to coincide with ...
1
vote
0
answers
54
views
Subscribe to user changes with Okta/Azure AD/Auth0
We are currently implementing feature on our server to allow our B2B customers to connect their own SSO method. So we will automatically register a user if he doesn't have any account.
But we will ...
1
vote
1
answer
742
views
Using authorized YouTube APIs with the new Google Identity Services - How do I select an account?
I currently still use GAPI for a project that accesses the YouTube Data API with endpoints that require authorization.
Very briefly, this is the current implementation:
User clicks "Log in with ...
2
votes
1
answer
1k
views
Returning an ID Token via Googles JavaScript GSI SDK
I'm currently integrating a frontend with a 3rd party backend that offers sign-in with social media. I'm using the Google JS SDK https://accounts.google.com/gsi/client which works fine with the one-...
1
vote
0
answers
1k
views
Getting error 'Property 'accounts' does not exist on type 'typeof google'' when using Google identity services with react
I am trying to implement authentication using Google in react as below.
useEffect(() => {
/* global google */
google.accounts.id.initialize({
client_id:
"62032923843-...
1
vote
0
answers
115
views
Sign In for Web styling issues with Google Identity
I have implemented the updated Google Sign In for Web into my website however, I am unable to style to be responsive of the browser size and screen its displayed on. I have the following code right ...
2
votes
1
answer
553
views
Google Identity Service Sign In with Google buttons supporting different callback functions for each button
I am trying to support multiple Sign In with Google buttons on the same webpage that all need to be configured with unique callback functions.
It seems as though a callback function can only be ...
2
votes
1
answer
1k
views
How to get new access token with Google Identity Services after login
I'm currently using google.accounts.oauth2.initTokenClient and then tokenClient.requestAccessToken() to prompt the user to select an account. Then, I'm using the access_token from the TokenResponse of ...
0
votes
0
answers
2k
views
Creating a custom OIDC claim/field on Google Identity
I am trying to create a custom claim in google identity for my application (xcreds) to pull from. Basically I'm trying to use xcreds mac password syncing tool and currently it works for users whos' ...
1
vote
0
answers
314
views
How to link users in GCP/Firebase Identity Platform to IAM principal
Background
We are building an app which authenticates end user using Firebase Authentication (backed by GCP Identity Platform). At the same time, we leverage some Google API of which permission is set ...
0
votes
1
answer
1k
views
Azure Functions Easy Auth & Google Access token
I'm trying to add Google authentication to my Azure Functions app which will be used from a Svelte static web app (SWA). The SWA uses Google Identity (https://accounts.google.com/gsi/client) to both ...
1
vote
0
answers
716
views
Why I'm not getting the nonce in the ID token when using the Sign In with Google One Tap UX in ITP browsers / Safari?
I have a test web app, with the Sign In with Google button + One Tap UX configured with a data-nonce :
<div
id="g_id_onload"
data-client_id="<%=...
1
vote
1
answer
542
views
Google GIS migration credential expires in an hour | Token Renewal
After migrating to GIS sign-in, I am getting an issue that the given jwt token is expired in 1 hour and I cannot find any other way to renew it. It's annoying the user to logout and login again.
When ...
2
votes
1
answer
2k
views
Refreshing an access token received from Google Identity Services / React App
I have a trouble right now with an access token received from Google Identity Services.
Some details about the case. I have full stack application, back-end based on Spring/Webflux/Hibernate-Reactive ...
1
vote
0
answers
642
views
Custom button for new Google Identity
Google recently launched its new Google Identity platform and deprecated its old "Google Sign-In for Web" platform. I'm trying to add my own customized Google Sign-In button to a Phaser 3 ...
3
votes
2
answers
2k
views
Does the "Sign In with Google" button require CSP style-src 'unsafe-inline'?
I added a "Sign In with Google" button to my test web app.
I tried to add a CSP following the advise at Setup instructions > Content Security Policy:
script-src https://accounts.google....
1
vote
0
answers
992
views
Requesting a fresh access token via google.accounts.oauth2 when using Google APIs in Javascript
According to this documentation, https://developers.google.com/identity/oauth2/web/guides/use-token-model , which says:
Token expiration
By design, access tokens have a short lifetime. If the access ...
0
votes
1
answer
986
views
Why the "Sign In with Google" button looks different in Safari and in Chrome?
I'm trying to use the Google Identity > Sign In With Google for Web on a test web application. I followed the Display the Sign In With Google button and the button (and the One Tap) show the way I ...
1
vote
0
answers
596
views
Is login hint available under the new Google Identity Services library?
I'm making an app that connects to a google calender.
I would like make the "sign-up with google" and "authorize to access
calender" flow as seamless as possible.
My understanding ...
4
votes
0
answers
354
views
Google Sign In For Web Migration to Google Identity Services
I have a single page web application that uses Google Sign-In for Web that is being deprecated. I have followed the migration guide and logging in works as expected.
However, when the app restarts I ...
2
votes
1
answer
268
views
Fetch dynamic URL after logged in with Google Identity Services in Typescript
What I need to do is to be able to log in with GIS, and then fetch an URL that would end with the {user.email} we just got from decoding the JWT.
Here is my code :
interface userI {
name: ...
1
vote
1
answer
384
views
Handling new consent screen (with checkboxes) and Incremental authorization with the "new" Google Indentity for Web
Google started making important changes to user's auth flow : 2018 post about scopes granularity
And here is another blog post about it on 2021 : 2021 post about scopes granularity
Recently (last week)...
0
votes
0
answers
93
views
How to manage Google Identity Service access token? [duplicate]
Hi please help providing answers on dealing with new Google Identity Service library access token using implicit flow.
Everytime I refresh my app, it will prompt you to login. Is there a way to tell ...
0
votes
0
answers
90
views
Is there a way to listen/check user logged in status for Apple Sign-in / Google Identity / Facebook Login?
I'm trying to either force a user to re-log into their SSO (which seemed not supported in these three SSO services) or check if they are still "logged in" from the view of the third-party ...
0
votes
1
answer
207
views
How can you tell/wait for a user to be determined to be logged in or not?
According to the official firebase docs for implementation of google login, you create a listener/observer (onAuthStateChanged) that will emit a user once your user has successfully gone through the ...
3
votes
1
answer
716
views
Unneeded prompts from Google Identity Services
I'm converting my web app to use Google Identity Services, and am using the token model as illustrated at Token Model example. For the token client I've specified the prompt property as an empty ...
2
votes
0
answers
645
views
Google Identity Platform Authentication using OIDC (in Dart/Flutter)
I need some assistance setting up OIDC auth in Google's Identity Platform. I have setup Oauth2 authentication before, but this is slightly different, and I feel like I'm missing something basic, and ...
1
vote
0
answers
207
views
Not able to implement new google auth using google identity services in react
According to the docs: https://www.npmjs.com/package/@react-oauth/google , the first step involves wrapping your app in GoogleOAuthProvider
When I do this I get the following error in my console:
App....
0
votes
1
answer
432
views
Identity Platform Sign In - using OpenID connect provider with Code Flow
We are trying to Sign In the user using OpenID Connect provider - using Code Flow (works fine with implict flow). Issue we are experiencing is that our OIDC provider requires private_key_jwt auth ...
1
vote
1
answer
414
views
What primary key to use from Google Identity JWT?
My front-end application successfully asked for authorization from the user, got a token from the Google API, sent it to an endpoint on my backend, and my .net app used the GoogleJsonWebSignature....
1
vote
1
answer
456
views
Using a custom domain with Firebase OAuth authentication in Swift
We have an iOS app that authenticates users using Firebase Authentication and an OAuth provider. When the authentication web view opens, the app first accesses *project*.firebaseapp.com before ...
3
votes
1
answer
1k
views
Google Identity Services: initCodeClient().requestCode() prompts user signin even though token is valid
After obtaining authorization token:
const tokenClient = google.accounts.oauth2.initTokenClient({
client_id, scope, callback,
});
// ...
tokenClient....
1
vote
1
answer
2k
views
Nuxt.js script does not get added to head
I attempted to add the Google Identity services script to nuxt.config.ts, which should expose window.google.
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
...
2
votes
0
answers
444
views
Google SSO redirect callback as a POST instead of a GET request
Is there a way to have the redirection callback from Google SSO made as a POST request instead of a GET request, that way all the parameters would be encoded in the body.
Microsoft allows it by ...
1
vote
0
answers
357
views
google.accounts.id.prompt stopped working
I have a custom button for signing in with Google and I am triggering google.accounts.id.prompt with a JS onclick event. I have noticed that first there is a call to https://accounts.google.com/gsi/...
3
votes
1
answer
2k
views
How to migrate my flutter web app to the new Google Identity Services?
My flutter web app uses the 'google_sign_in' package to authenticate the users. I received an email telling me to migrate to the new Google Identity Services (GIS) before March 31, 2023. I could not ...
1
vote
1
answer
887
views
With Google Identity Services (GIS) JavaScript SDK, how do you extend a session?
per https://developers.google.com/identity/oauth2/web/reference/js-reference
There doesn't seem to be a refresh_token flow. The expiration is 1 hour, so it's not terrible. But I'd like to extend the ...
3
votes
1
answer
1k
views
Google One Tap Sign In null reference
I am unable to get Google's one tap sign in implementation to work. The code runs, the button works however, the addOnSuccessListener never runs. I don't understand what the issue could be, as ...
0
votes
1
answer
199
views
How to differentiate streams in Google Cross-Account-Protection (RISC)
The documentation says the jti identifies the event and "is unique to the stream". That means it could be repeated in multiple streams. What differentiates the stream? And how can I make ...
14
votes
2
answers
6k
views
What is the difference between Identity Platform and Firebase Authentication with Identity Platform
Firebase has announced a new optional upgrade called Firebase Authentication with Identity Platform, however, the new features already exist on the GCP Identity Platform.
As mentioned in the ...
0
votes
1
answer
499
views
How to Verify the integrity of the Google Identity Platform in C# with Google.Apis.Auth.AspNetCore3?
I have set up "Google Identity Platform" and can obtain the access token via firebase-ui web using following code snippet:
user.getIdToken().then(function (accessToken) {
console.log(...
1
vote
2
answers
3k
views
Decoding jwt token returned by the new google identity api
I have created a login button with google identity javascript api https://developers.google.com/identity/gsi/web/guides/display-button#javascript
I have successfully returned a jwt token and decoded ...
2
votes
0
answers
201
views
Using custom button for new Google Sign-in (javascript)
I am migrating our code from the older Google authentication API to the new Google Sign-in stuff. What I want to do is be able to use our existing "continue with Google" button, and trigger ...