12,121 questions
0
votes
0
answers
41
views
Multiple OAuth clients in the same Google Cloud project revoking each other’s token
We have a Google App Script project for a Gmail add-on associated with a Google Cloud project. We have 2 OAuth clients within the Google Cloud project. The 1st is the auto generated client to be used ...
0
votes
1
answer
60
views
Google OAuth 2.0: When are given_name/family_name omitted from the ID token (scope=openid email profile)?
Using Google OAuth 2.0 (Authorization Code flow) and exchanging the code at https://oauth2.googleapis.com/token, we request the scopes openid email profile and decode the returned id_token.
For almost ...
2
votes
1
answer
68
views
How can I execute an Google Apps Script function on behalf of an user using an HTTP request with an access token in the header from an Android app?
I'm trying to make an online service for my Android app using Google Apps Script. The users simple log in to their Google Account inside the app, grant necessary permissions to the corresponding GCP ...
2
votes
1
answer
148
views
How do I resolve `state_mismatch` error with Google OAuth in a Next.js app using Better Auth?
I have a Next.js application with Better Auth setup. I can sign up and log in fine using email and password. I implemented OAuth sign in with Google, but that only worked once or twice. If I somehow ...
2
votes
0
answers
86
views
Changes made in Google OAuth testing project are not reflecting
Changes made in the Google OAuth testing project are not reflecting.
I tried updating the Redirect URI in Google Cloud Console
, but even after saving, it still throws a redirect_uri_mismatch error. ...
1
vote
0
answers
78
views
Strapi v5 Google Auth: "Grant: missing session or misconfigured provider"
I'm trying to set up Google authentication in Strapi v5 using the Users & Permissions plugin, with a Next.js frontend.
The problem happens right after I accept the Google login.
Instead of ...
0
votes
0
answers
66
views
Cannot Access OAuth Consent Screen - Keeps Redirecting to auth/overview Page
I'm trying to configure the OAuth consent screen for my Google Cloud project but I keep getting redirected to a different page.
What I'm trying to do:
Configure OAuth consent screen settings (app name,...
0
votes
0
answers
137
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 ...
2
votes
1
answer
125
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 ...
0
votes
0
answers
106
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.
...
0
votes
0
answers
75
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
132
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
93
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
79
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
235
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 ...