Skip to main content
Just browsing Stack Overflow? Help us improve your experience. Sign up for research
Filter by
Sorted by
Tagged with
1 vote
0 answers
4 views

Why is idToken nested under data instead of top-level when using @react-native-google-signin/google-signin?

I’m using @react-native-google-signin/google-signin in my React Native app (for Android and iOS), and the documentation states that when I call GoogleSignin.signIn(), the returned userInfo object ...
Dedition's user avatar
0 votes
0 answers
14 views

NextAuth not be able to login with google: To confirm your identity, sign in with the same account you used originally

I'm encountering the following error in the terminal [auth][error] OAuthAccountNotLinked: Another account already exists with the same e-mail address. According to the NextAuth error documentation, ...
Almant Doko's user avatar
0 votes
1 answer
19 views

Unable to make google sign in in debug mode

In a flutter application, I am using Google Oauth 2.0 client for signing in user. I have created separate client for web, debug and release build. Added sha1 for debug and release build. Debug build ...
newaz kabir's user avatar
1 vote
0 answers
18 views

ASP.NET Core Google Authentication: "oauth state was missing or invalid" despite SameSite=None and Secure

I'm encountering an AuthenticationFailureException: The oauth state was missing or invalid error when implementing Google authentication in my ASP.NET Core Image What else could be causing the state ...
slowey's user avatar
  • 11
0 votes
0 answers
41 views

How to test apis via postman/bruno secured using oauth2?

I am using Spring Boot to create an api server. I am doing authentication via Google OAuth by following this guide: https://spring.io/guides/tutorials/spring-boot-oauth2. The guide uses Spring Boot as ...
user178456's user avatar
0 votes
1 answer
16 views

Using Flask session variable for OAUTH CSRF prevention

I am trying to write a simple (hah!) Python Flask app which will use Google's people API to retrieve a user's numeric Google ID (which otherwise seems to be almost impossible to determine). Doing ...
Ian Pilcher's user avatar
  • 1,609
0 votes
0 answers
20 views

NextAuth 'State cookie was missing.' on first try, but succeeds on second

I've been spinning wheels on this for nearly 3 days now and I'm losing my mind: Here's what happens. I click my Google OAuth sign on, get to the last step then I get an error. This is in my server ...
Ankur Toshniwal's user avatar
1 vote
1 answer
90 views

How to solve 'Cross-Origin-Opener-Policy policy would block the window.closed call.' in Vite/React for Google login?

I'm using Vite/React on the frontend and I want to get the authorization code from Google so I can finish the rest of the login in the Django backend. The issue I get is, when the Google login popup ...
Jamess11's user avatar
  • 164
0 votes
1 answer
60 views

Google authentication for automatic email send (in Airflow)

I'm an admin of my GCP project (I can create and manage anything) and I have to build a workflow in python to send emails periodically using Airflow. Our team has a User Admin account and we have ...
Augusto Giani's user avatar
0 votes
1 answer
28 views

How to pass data to multiple database tables in NodeJS using google OAuth?

passport.use("google", new GoogleStrategy( { clientID: process.env.GOOGLE_CLIENT_ID, clientSecret: process.env.GOOGLE_CLIENT_SECRET, callbackURL: "http://...
Yasas Lekamge's user avatar
0 votes
0 answers
22 views

Need help opening popup in ReactJS Sign in with Google and call API from Laravel Backend [closed]

Need help how to handle Google Login functionality and use popup with window.open in ReactJS and call API from Laravel Backend. I used window.addEventListener to listen for "message" and ...
Khanh Duy Dev's user avatar
0 votes
0 answers
17 views

Google OAuth API throws TypeError in a React+TS project

Everytime a user visit the OAuth url, my program throws exception as follows: "TypeError: Failed to execute 'query' on 'Permissions': illegal invocation" while the page stucks up with ...
The Querying Tree's user avatar
1 vote
1 answer
76 views

Android Native App Credentials Google Account Login Failed Error: [16] Account reauth failed with type GetCredentialException.TYPE_USER_CANCELED

IDE: Android Studio Language and framework: kotlin, Jetpack compose Java version: 11 Gradle sdk info: minSdk = 24 targetSdk = 35 versionCode = 1 versionName = "1....
slaimzZ 's user avatar
0 votes
0 answers
26 views

Google Oauth refresh token without redirect url ? Just auto refresh

Just some context - Im creating app to merge my family calendars from different sources. I want to setup some google component but I have a problem. My code is pretty straight forward. First enter is: ...
user2188158's user avatar
0 votes
0 answers
58 views

Can't able to login google auth in telegram mini apps

I'm developing a Telegram mini app, but I'm facing an issue while trying to log in with Google. In my app, I implemented the Google OAuth method. The next app with Google auth login works locally and ...
Suriya Sampath's user avatar
0 votes
0 answers
42 views

Google Auth @react-native-google-signin/google-signin DEVELOPER_ERROR

I had google setup with expo-auth-session before that was working but suddenly it stopped was getting error 400. Following their suggestion I started setting with react-native-google-signin package. ...
xergio's user avatar
  • 54
0 votes
1 answer
55 views

Invalid authentication credentials when trying to list google drive folder from C# app

I'm attempting to write a simple C# .NET application that lists the contents of a Google Drive Folder using Google APIs v1.68. I've done the following setup: Created a project in Google Cloud Created ...
Thomas O'Dell's user avatar
0 votes
0 answers
23 views

How can I retrieve the JWT from Google authentication using Auth.js in Next.js?

//auth.config.ts import type { NextAuthConfig } from "next-auth"; export const authConfig = { pages: { signIn: `/`, }, callbacks: { async jwt({ token, user, account }) { ...
Muhammad Rashid's user avatar
1 vote
0 answers
26 views

In Google Workspace, how to identify app from client_id

I have a customer with many Google Workspace users who sign in to lots of websites using SSO with workspace. If an admin is signed in to admin.google.com they can see the list of accessed websites ...
Rory's user avatar
  • 41.8k
0 votes
0 answers
44 views

How to Authenticate Google Sign-In Users with Cognito in React Native Without Browser Redirection

I’m building a React Native app and using AWS Cognito for user authentication. I want to enable users to sign in with Google, but I’m facing issues integrating it smoothly with Cognito. I Tried: Using ...
Ashish's user avatar
  • 79
1 vote
1 answer
46 views

Google Oauth2, retrieve custom user parameters

I just set-up the Oauth2 flow by means of SpringBoot 3.x framework and Google. Using the securityBuilder.oauth2Login(oauth2 -> oauth2.successHandler(authenticationSuccessHandler)); I'm able to ...
user2095071's user avatar
0 votes
1 answer
48 views

FirebaseAuth getRedirectResult always returns null on Flutter web

Unfortunately, the redirection result is always null, which causes an infinite login loop (as my login is automatically on page load). Firebase config on index.html: const firebaseConfig = { apiKey: ...
Bharel's user avatar
  • 26.7k
0 votes
0 answers
34 views

Google Auth access token is becoming invalid, with Incremental Scopes

I am building a flutter mobile application (for IOS and Android platform), i want my users to first do google Signin and then provide incremental scopes (calendar/email) to my application. But as soon ...
Shubham Tiwari's user avatar
0 votes
0 answers
58 views

How to Fix Firebase Google Authentication CSP Errors in a Chrome Extension (Manifest v3, WXT Framework)

I’m building a Chrome extension using the WXT framework and trying to integrate Firebase Google authentication, but I keep running into CSP-related issues. Here’s the situation: Error from Content ...
Patato's user avatar
  • 171
0 votes
0 answers
40 views

GSuite oauth token getting unauthenticated for calling mail API

We have build an OAuth app which takes basic scope and gmail readonly scope https://www.googleapis.com/auth/gmail.readonly. Application subscribes the pub/sub and on receiving hit from Gmail, we call ...
Test' User's user avatar
0 votes
0 answers
42 views

Google Calendar API duplicated Authorization

I am working on a calendar project using Google OAuth2 and the Google Calendar API. I have implemented a SuccessHandler to automatically save Credentials for Google Calendar API usage, differentiated ...
최영우's user avatar
0 votes
0 answers
31 views

GoogleOAuthProvider isn't passing nonce, inline styles can't be applied

I have a react app which needs to use google oauth. Here's how I setup the root renderer: import React from 'react'; import { GoogleOAuthProvider } from '@react-oauth/google'; import App from './pages/...
K. Shores's user avatar
  • 1,005
0 votes
0 answers
69 views

Access blocked: this app request is invalid

I need to incorporate social login into ping as one of my work assignment. currently I am facing below issue I have reviewed redirect URI and it's configured correctly https://myserver.com/\<...
Manish Kumar's user avatar
0 votes
1 answer
65 views

People Api has not been used in this project

I'm trying to authenticate with google in a Flutter Web project, and I have something like this final GoogleSignIn _googleSignIn = GoogleSignIn( scopes: <String>[ 'email', ...
Erick Galván's user avatar
0 votes
0 answers
61 views

"Popup window closed" on Google GIS requestAccessToken - in Joomla php environment

After succesfully initialising a tokenclient with: function initializeGoogleSignIn() { tokenClient = google.accounts.oauth2.initTokenClient({ client_id: 'xxxxxxxx.apps.googleusercontent....
Pieter's user avatar
  • 13
0 votes
1 answer
95 views

How to fetch google form response with required email in Google App Script

As the title, I got some problem when trying to automate response google forms type collect submitter data but I am not the form's owner Here is the form: Sample Form Below is my scratch code in GAS: ...
Đỗ Như Đông's user avatar
0 votes
0 answers
19 views

Accesing express server for auth2 return cors error

Im on production trying to use google auth 2.0 with passport on my express js backend. origin: function(origin, callback) { if (!origin || allowedOrigins.includes(origin)) { callback(null, origin);...
Abdou El Mesnaoui's user avatar
0 votes
1 answer
36 views

Is there a way to circumvent the GCP OAuth Consent Screen in OAuth2

I'm working on a automated backups of Google Cloud organizations and projects and for accessing the data on those OAuth2 is needed as service accounts and API keys don't have the right permissions. I ...
amarz's user avatar
  • 1
0 votes
0 answers
22 views

How to pass query parameter to Google strategy passport nestJs

Ok, so I am trying to pass a query parameter from my mobile app as /auth/google?purpose=addPlatform to my backend so that I can do stuff with that. Right now is not picking up the parameter. I am ...
chewie's user avatar
  • 577
0 votes
2 answers
73 views

request to token url returning 400 bad request for google oauth2?

I am trying to implement a simple google login in our web application. Here is the OAuth controller. import grails.plugin.springsecurity.SpringSecurityService import grails.plugin.springsecurity....
kofhearts's user avatar
  • 3,754
0 votes
0 answers
25 views

Cognito & Google sign in: pass custom user attribute

We need your help. We struggle to pass a custom user attribute with federated sign-in (Google) in Cognito. We have 5 usertypes and we need to set them during the registration. It works fine with the ...
trigger's user avatar
  • 495
1 vote
2 answers
93 views

Google Web <-> Mobile Flow with Spring Boot Backend

I'm a bit struggling with the following scenario: Integrated Google flow with a web-app (VUE) and Spring Boot Backend (user logs in to google on web, web sends authCode, all other requests are being ...
Alexandr's user avatar
  • 716
1 vote
0 answers
36 views

Requested Grant type authorization code with curl and web

I implemented and it is working correctly in my project the Grant type password to login with email and password Now, I have activated the Grant type authorization code to login/register with Google ...
user27445699's user avatar
0 votes
1 answer
36 views

How can I add custom field the the Next Auth Google provider profile?

import Credentials from "next-auth/providers/credentials"; import bcrypt from "bcryptjs"; import { LoginSchema } from "@/schemas"; import type { NextAuthConfig } from &...
Jean Mako's user avatar
1 vote
0 answers
90 views

Authjs's Google Provider for OAuth is not working in Nextjs

I am implementing Google OAuth via Authjs in my Nextjs project. In the same way I added Github OAuth but for google oauth, It displays an error. Here are some details of environment: "next": ...
Zafeer's user avatar
  • 11
0 votes
1 answer
59 views

Spring Webflux Security not attaching CSRF cookie after logging in via Google Oauth2

I'm implementing a simple Sign-In via Google Oauth2 for my Spring Webflux backend and ReactJS frontend. For now I'm just trying to get the API working and test it with an OpenAPI swagger page. I've ...
SnoopDougg's user avatar
  • 1,599
1 vote
0 answers
84 views

Why I'm always getting 'Unauthorized access' on oauth2 authorization despite correct client_id, client_secret, refresh_token (which didn't expire)?

I'm using nodemailer for a registration page and I'm using it with OAuth 2.0 but I made sure everything was set up correctly in the code a hundred times and it didn't work. Anything wrong in my code ...
georgio bou sleimen's user avatar
0 votes
0 answers
40 views

Google Authentication via firebase

I am building an IOS and Android app and authenticating Google sign-in with Firebase. I am also using Google Cloud Console to automatically create client IDs by firebase. However, I am facing an issue ...
Calvin's user avatar
  • 49
0 votes
0 answers
77 views

Generate the Authorization Code - Redirecting to https://login.microsoftonline.com/common/oauth2/v2.0/undefined

I have google OAUTH2.0 cliend id setup as below Origins http://localhost:3000 https://icy-..-0--f03.5.azurestaticapps.net https://l..nd-fu..ons.azurewebsites.net Redirect URIs http://localhost:3000 ...
Kris Swat's user avatar
  • 996
0 votes
1 answer
89 views

Cannot invoke "org.springframework.security.oauth2.core.user.OAuth2User.getAttribute(String)" because "oauthUser" is null

Spring OAuth2 name is always null. I am trying to implement 'Login with Google' in Spring Boot. I have already implemented JWT token functionality. im also face same issue in Login with google. anyone ...
Ahamed's user avatar
  • 1
0 votes
0 answers
28 views

Extra Trailing Closure passed in call GIDSignIn and have no idea why, following documentation

I have no idea where to go from here and am struggling to understand my options. Following documentation here I am using swiftUI and not swift they have: guard let clientID = FirebaseApp.app()?....
eric's user avatar
  • 1
0 votes
0 answers
54 views

The Google Marketplace app isn’t showing up in the Drive "Open With" section

We’re working to publish an app to the Google Marketplace for our Drive API, but it's being rejected by Google's review team, who say they can't see the app in the "Open With" section. ...
Fatema Tuz Zuhora's user avatar
0 votes
1 answer
132 views

How to implement Authentication for Azure Function - Google provider - Static WebApp - unauthorized

I have a static web app that has google authentication Login and it works. I have azure function - the out of the box - HttpExample. The azure function works when accessed without Authentication. In ...
Kris Swat's user avatar
  • 996
0 votes
0 answers
73 views

Call Google API within Cloud Function with Authentication

I'm trying to call the Dataform API from within a Cloud Function, however the identity token I am providing is returning with a 'Request had invalid authentication credentials. Expected OAuth 2 access ...
RoyalSwish's user avatar
  • 1,557
0 votes
0 answers
47 views

Google cloud run auth, odd behaviour based on URL params

Today I spent a very large part of my day debugging a 403 error in which I am calling a cloud run service from another cloud run service. To authenticate between the two services they are deployed ...
dendog's user avatar
  • 3,288

1
2 3 4 5
206