12,135 questions
0
votes
0
answers
76
views
Google Login Redirect Not Working in CodeIgniter 4: 'Page Does Not Exist' Error on Callback
I'm integrating Google OAuth login in my CodeIgniter project, but I'm encountering an issue with the redirect URI after successfully authenticating with Google. Here's a summary of the problem:
My ...
1
vote
1
answer
67
views
Google Oauth authorization is stuck after accepting consent
I have an app that is failing to continue processing after I consent to the desired API scopes. My process is as follows:
The app is a Java web app running on Tomcat 10.1. It is an internal, single ...
-1
votes
0
answers
74
views
Add redirect URI to Android Oauth 2.0 client ids
I'm trying to enable Google Login inside my app, but I don't see a section to add a redirect URI to my Android Google Oauth 2.0 Client ID.
I'm getting the following error when using expo go React ...
-1
votes
0
answers
82
views
YouTube Data API oAuth channel connection dialogue window caps 50 channels even when YouTube account has more
When a user is going through the YouTube Data API oAuth flow, they are eventually presented with the ability to connect a specific YouTube Account/Channel. The list is capped at only showing a max of ...
0
votes
0
answers
85
views
Gmail API OAuth token expires after a few days, and re-authentication fails for some accounts
I’ve built an app similar to gmass.co/inbox
I'm using gmail.readonly
to help check where our emails land (Inbox, Promotions, Spam, etc.) in specific Gmail accounts before launching email campaigns.
...
-2
votes
0
answers
139
views
The browser is not storing cookie after oauth flow [duplicate]
Here is the list of things I have tried:
Using proxy server
Using subdomain and setting domain explicitely to cookie like: .app.localhost
Omitting domain field of cookie entirely
Set status code to ...
0
votes
0
answers
62
views
Error `invalid_grant` when trying to obtain a refresh_token from Google
I want to connect Google Business reviews. I have created a web application and have a client ID and client secret.
The following APIs are connected:
Analytics Hub API
Anthos Service Mesh Certificate ...
0
votes
0
answers
110
views
Google Calendar API refresh token stops working after 1 hour – requires user to reconnect
I’m integrating Google Calendar using OAuth2.
During testing, I noticed that refresh tokens stop working after about an hour.
Issue behavior:
If I connect the calendar and use the token to create a ...
0
votes
0
answers
75
views
Cloud run native IAP not working for Streamlit App
I have configured all the permissions for user and service correctly. I need to build a user facing app which would use IAP on cloud run to verify the user.
However even after configuring permissions ...
0
votes
0
answers
65
views
Cross-Browser Extension OAuth2 with Google Calendar API: Avoiding client_secret and redirect_uri_mismatch while keeping token refresh possible?
Problem
I'm building a browser extension that needs to authenticate with Google Calendar API across Chrome, Brave, Edge, and Firefox. I want persistent authentication with refresh tokens, but I'm ...
3
votes
1
answer
208
views
Why does auth.authenticate_user() in Google Colab not give access to my personal Google Calendar?
I’m trying to access my Google Calendar events from Google Colab using the Google Calendar API.
from google.colab import auth
from googleapiclient.discovery import build
import google.auth
import ...
0
votes
0
answers
249
views
redirect_uri_mismatch and requested path is invalid errors despite correct configuration
I've encountered a Supabase Google OAuth flow issue that only occurs when testing with Expo Go. The authentication flow works perfectly in a development build created with eas build, but fails in Expo ...
1
vote
0
answers
83
views
Google Apps Script fails to automatically request necessary OAuth scopes for SpreadsheetApp and ScriptApp
I'm experiencing a very unusual issue with Google Apps Script that I haven't encountered before, despite having built similar scripts multiple times. The script seems to be failing to automatically ...
0
votes
0
answers
86
views
Authentication logic isn't working due to new updates in the appwrite database and auth methods
I'm building a react based admin dashboard.
Note: The setup between google auth api and the appwrite auth has been done correctly and the appwrite project has been connected with my local project ...
2
votes
1
answer
327
views
`google.auth` python SDK not reading granted scopes from credentials file
I've run:
gcloud auth application-default login --client-id-file google_oauth_client_id.json --scopes="https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/calendar....
0
votes
0
answers
117
views
Appwrite OAuth with Flutter (Google login) keep failing on mobile
I’m trying to setup Google login with Appwrite on my Flutter app (Android).
The problem is two different cases:
If I don’t add success and failure urls in createOAuth2Session, it open the google ...
1
vote
0
answers
132
views
Expo SDK 53 broke Google Authentication
Everything was working fine on Expo SDK 51. But since I updated to SDK 53, Google Authentication cannot redirect me back to the application - I keep staying in Web View browser, where Google main page ...
0
votes
0
answers
154
views
Why do Google's OAuth consent screen internal endpoints return 400/405 errors in production?
I'm implementing Google OAuth 2.0 with PKCE for a web application. The OAuth request generation works perfectly and users can select their Google account, but Google's internal consent screen ...
0
votes
0
answers
95
views
Spring Webflux, authenticationSuccessHandler not invoked in oAuth2 login flow
I am still a beginner in Webflux. I want to get the user logged in using google and once the user is authenticated, I want to create my custom JWT (which has some role info specific to my app) and ...
0
votes
0
answers
61
views
Oauth client authorization fails because of the Google ADC
I'm trying to work on my home project where I contact Google services like Gmail, Sheets, Drive. Services that are not Google Cloud per se.
I've implemented GmailApi quickstart guide for python, but ...
1
vote
1
answer
93
views
Receive Error 400: redirect_uri_mismatch when trying to use OAuth
I am using Render.com to deploy online a flask app. I want it to first login using Google OAuth before accessing the website. However, I must be doing something wrong because it does pull up the "...
1
vote
1
answer
351
views
Google Sign-In Failed with "Access blocked: Authorization error, Error: Invalid_scope" in Flutter
I'm getting an "Access blocked: Authorization error, Error: Invalid_scope" error when trying to implement Google Sign-In in my Flutter application with multiple OAuth scopes.
Error Message
...
0
votes
0
answers
293
views
Google OAuth2 Error 401: invalid_client Request details: flowName=GeneralOAuthFlow on Flutter app with Supabase
I am making a flutter app with regular login as well as Login with Google functionality using Google Oauth v2 and Supabase. I have tested login with google on local development as well as my ...
0
votes
0
answers
130
views
"The state token is invalid or has expired. Please try again." error
Subject: Persistent "State Token Invalid" Error in Google Apps Script Web App for Test Users (OAuth2 Library)
I'm encountering a highly persistent and perplexing "The state token is ...
0
votes
0
answers
75
views
Django google-auth-oauthlib insecure_transport error on Cloud Workstations despite HTTPS and SECURE_PROXY_SSL_HEADER
I'm developing a Django application on Firebase Studio environment. I'm trying to implement Google OAuth 2.0 for my users (doctors) to connect their Google Calendar accounts using the google-auth-...
2
votes
2
answers
319
views
Google Drive API files.download restricted scope
I've a web application that uses the Google File Picker to select a file, and then internally my backend takes the fileId and calls this API to download it:
https://developers.google.com/workspace/...
1
vote
0
answers
146
views
Google OAuth2 returns an entirely different request_uri than what I submitted or configured
I have configured, clearly, my redirect_uri to be: http://127.0.0.1:8080
But when I attempt to log in, google replies with an different redirect_uri, and then returns a "redirect_uri_mismatch&...
0
votes
0
answers
239
views
Google OAuth Error 400: invalid_request when using n8n on Fly.io
I’m running n8n (workflow automation tool) on Fly.io, and it works fine.
Now I’m trying to connect Google services like Gmail or Google Sheets using OAuth2.
I created a Google Cloud OAuth 2.0 Client ...
0
votes
0
answers
91
views
Node.js Google Sheets API returns 401 'Login Required' on first call despite valid refresh token
I am building a Node.js server-side application that needs to interact with the Google Sheets API on behalf of a user using the googleapis and google-auth-library packages.
I have successfully ...
1
vote
1
answer
117
views
Google Auth with Google Identity Services in the front end deprecation confusion [duplicate]
I'm having a hard time understanding what is and what is not deprecated.
In the The Google API client, if you click on the "auth" guide, you end up with a message "gapi.auth2 has been ...
1
vote
1
answer
78
views
Rust OAUTH2 token extra_field
So I'm trying to validate Google's nonce token which is in the extra_fields of the token object. Ever since the 5.0.0 update, oauth now requires strict type match (no more token.extra_fields().get(&...
0
votes
0
answers
58
views
How to verify a Chrome Extension that uses Google Calendar API without owning a domain?
I'm developing a Chrome Extension (non-commercial, open-source) that extracts information from Gmail messages and creates Google Calendar events.
To avoid the “This app is unverified” warning, I'm ...
0
votes
0
answers
70
views
supabase google auth wont get cookies
i just ran into this problem and cant fix it myself and refuse to use AI for this project so you are my last resort rn.
im building this app with supabase and i'm using the auth services to sign in ...
1
vote
0
answers
54
views
Flutter Supabase Google Authentication Session is not saving
In my flutter app, the user has two options. auth with email and auth with google. if you choose email there is no problem but if you choose google you can pass auth part but when you close the app ...
0
votes
1
answer
168
views
Problems with CredentialManager: Cannot auto sign in with multiple accounts, no logout API, and login failure after app access revocation
I'm implementing Google Sign-In in my Android app using the new CredentialManager API. However, I'm facing several critical issues that are making it hard to replace the old GoogleSignInClient:
Issues:...
0
votes
0
answers
93
views
GoogleAPI, Get User's Additional Emails
I have a question about GAPI and People API. After the user signs in with Google OAuth I need to collect every email address attached to that Google Account (aliases / secondary addresses).
So what I'...
1
vote
1
answer
46
views
Integrating wiremock with node for google oauth flow
I am trying to mock google oauth flow with wiremock in my nodejs app for integration tests.
I have configured in my passport manager code:
passport.use(new GoogleStrategy({
clientID: config....
0
votes
1
answer
236
views
React Native Expo- Sign with google not working on android
Currently having issues with React Native - Expo with integrating sign with google.
I followed some previous posts here but it hasn't gotten me anywhere
What is happening is I tried with latest ...
0
votes
0
answers
46
views
How to I use the "popup" flow for Google auth to convert a code to an access token -- I keep getting an error
I have a browser/web server based app where I am trying to authenticate the user in the browser and then be able to keep them authenticated with a refresh token.
I believe I should be using google....
1
vote
0
answers
112
views
Internal server error "Cannot read properties of undefined" during Google OAuth
I created authentications using Better-Auth and Google as the auth client. I have the correct URL for the authorized JavaScript origins and for the authorized redirect URL and I believe my set up is ...
0
votes
1
answer
238
views
AWS Amplify v6 OAuth Configuration: "OAuthNotConfigureException: oauth param not configured" despite correct config
I'm getting an OAuthNotConfigureException: oauth param not configured error when trying to use Google OAuth with AWS Amplify v6, even though my configuration appears correct.
Environment:
AWS Amplify ...
0
votes
0
answers
47
views
Unable to access Cognito Identity Pool with Google client
I'm getting
NotAuthorizedException(message=Token is not from a supported provider of this identity pool.)
despite google being added as a identity provider in my Cognito Identity Pool with the Web ...
0
votes
0
answers
42
views
Expo Auth Google signin failed
I created an Expo app that uses google signin,
import { supabase } from '@/utils/supabase'
import { FontAwesome } from '@expo/vector-icons'
import { makeRedirectUri } from 'expo-auth-session'
import * ...
0
votes
0
answers
76
views
Google OAuth and ASP.NET Core: can't execute logic after successful login attempt
I've got a problem with implementing Google authentication. In my application, we authenticate users by issuing them a JWT, but signing in with Google is also important, so I tried to implement some ...
1
vote
1
answer
112
views
How to restrict access of a service account to only specified user(s) in google workspace?
I'm developing an application that needs to read and label emails from a single, specific mailbox that is a part of a google workspace.
I managed to connect a service account to the workspace using ...
1
vote
1
answer
156
views
Getting started with Oauth for google Drive API Getting a 502 response from gapi.client.init
I'm trying to write a web client for google drive, but I'm stuck trying to get the authorization client to work. Specifically, when I call gapi.client.init() I'm getting a response of 502 - Bad ...
1
vote
0
answers
82
views
Google Authentication Logout issue on React
I am trying to resolve the google logout for a week, the issue is the login works fine on my react web application but when I try to logout the application gets stuck especially when I browse other ...
0
votes
1
answer
122
views
Google Photos API: App no longer has access to user data despite consent screen
I have an app registered and verified for the Google Photos Library API.
Since the beginning of June, it seems that my app is no longer allowed to access users' Photos data, even though users are ...
0
votes
1
answer
195
views
React + React Native + Django AllAuth
I'm running a Django server which has API's I consume through a React Native and React applications.
I want it to work for Google, Facebook, Instagram and Twitter.
For this question I want to focus on ...
2
votes
1
answer
50
views
{ message: 'invalid_grant', code: 400, status: 'Bad Request' } When generating Token for the first time googleapis NodeJS
I'm trying to use the googleapis library in a Node.js application to access the YouTube and Google Drive APIs. However, I'm unable to generate the access and refresh tokens for the first time.
When I ...