Questions tagged [google-one-tap]

108 questions
21
votes
5 answers

Missing Feature{name=auth_api_credentials_begin_sign_in, version=6}

I am trying to use the Google authentication method (One tap sign in) for my application. However, after I clicked on the sign button, I faced the following problems: W/GoogleApiManager: com.google.android.gms.internal.auth-api.zbaz could not…
11
votes
0 answers

Google OneTap SignIn Pass or Error codes: 10 / 16

I'm trying to set up a Google OneTap SignIn button to my developed App (I'm not using Firebase to sign in) guiding by this source: https://developers.google.com/identity/one-tap/android/get-started I've created both OAuth & Web credentials on Cloud…
Vind Iskald
  • 345
  • 3
  • 14
8
votes
0 answers

Android + Google One Tap Refresh Token?

Whenever I sign in with my Android app using Google One Tap, I receive a TOKEN ID which is valid for about an hour. How I'm supposed to get a REFRESH TOKEN to avoid signing in every hour when that TOKEN expires? I've checked the official docs, but…
Stefan
  • 2,829
  • 5
  • 20
  • 44
7
votes
3 answers

A horizontal scrollbar appears after logging in with Google One Tap on mobile device

I have integrated Google One Tap into my website. The login process works well on desktop, but on mobile, there is a horizontal scroll after logging in. It's also important to note that the direction of the website is right-to-left. Following a…
Shachar Langer
  • 501
  • 5
  • 7
6
votes
2 answers

How to use Google Activity Result API in One Tap sign-in

In one of my Android applications I am trying to include One Tap sign-in authentication by following the example https://developers.google.com/identity/one-tap/android/get-saved-credentials#disable-one-tap. However, here…
teb585
  • 73
  • 5
6
votes
2 answers

Implementing Google sign-in in React error - Invalid value for prop `data-callback` on

I am trying to implement google sign-in in React. Here's my component - import { Fragment, useEffect } from "react"; import { GOOGLE_CLIENT_ID } from "./some-file"; const GoogleSignIn = () => { const googleSignInHandler = response => { …
6
votes
3 answers

how to define variable google when using google one tap javascript API

I am following this documentation google one tap sign in to implement google one tap sign-in in my react app. I have added below code to my component JSX and I started to have google prompt to sign-in: const handleCredentialResponse = response =>…
5
votes
1 answer

How to prevent Google One Tap from stealing the focus from an input?

If you use Google One Tap on a page which has an input or textarea with autofocus, or where you use focus() during the page load, Google One Tap removes the focus from the input field when it displays its login window. This looks like a Google One…
Óscar
  • 650
  • 1
  • 4
  • 16
5
votes
3 answers

How to get OAuth token after Google One Tap sign in: JWT token response of one tap sign in to Google oAuth

I have been reading the documentation and so far no luck, require the OAuth Access token as well. however, the Google Identity service does not give back the oAuth Access token. instead, it returns a JWT token. I'm looking for ways to use the JWT…
Akash g krishnan
  • 469
  • 5
  • 16
5
votes
1 answer

One Tap Sign in - Activity Result with Jetpack Compose

I'm trying to integrate One Tap Sign in with Google into my app which I'm building with Jetpack Compose. I'm using startIntentSenderForResult to launch an intent, but now the problem is that I'm unable to receive activity result from my composable…
Stefan
  • 2,829
  • 5
  • 20
  • 44
5
votes
2 answers

Android One Tap Sign In: Unable to show Password Save Dialog

I'm trying to implement Android One Tap Sign In and I'm unable to show this dialog here: I keep getting the msg: com.google.android.gms.common.api.ApiException: 16: Skipping password saving since the user is likely prompted with Android…
mco
  • 1,809
  • 15
  • 31
4
votes
1 answer

Why the same One tap sign-in code can work at some moments and raise error at others?

I made Googles authorization via One tap sign-in library. At first it worked well, we added everything it demands: Web application credentials; Android debug credentials; Android release credentials; But at some point it stopped consistently…
Ircover
  • 2,406
  • 2
  • 22
  • 42
4
votes
1 answer

Sign In With Google - Trigger sign in programatically instead of button

I'm trying to migrate to the new Sign In With Google and I'm missing one crucial functionality I was using previously. Basicly my application is working with locally created application users. At one point in the application, the user is prompted to…
Jswk
  • 121
  • 4
4
votes
1 answer

Is there a way to change the language of google's one tap prompt?

Currently google one tap prompt is rendered only in english. Is there a way we can pass locale to the javascript api so that prompt gets rendered in that specific language?
sidchand
  • 41
  • 1
4
votes
4 answers

[GSI_LOGGER]: The given origin is not allowed for the given client ID

I am trying to integrate the google-one-tap with my django project on my localhost. So I added http://localhost:8000 and http://localhost into the Authorized JavaScript origins in Client ID for Web application. I read some blogs that the above…
Venus713
  • 1,441
  • 12
  • 24
1
2 3 4 5 6 7 8