12,131 questions
1
vote
2
answers
947
views
[GSI_LOGGER]: FedCM get() rejects with IdentityCredentialError: Error retrieving a token. Google One Tap Login with next.js
I am trying to implement Google One Tap Signin in my Next.js application. But keep on getting errors when trying to sign in.
The following is my GoogleOnetap.tsx file which I have added to the layout....
0
votes
1
answer
277
views
How to use django-allauth for Google API?
How is django-allauth implemented to obtain authorization using Oauth2 for a Google API (in my case the Gmail API)? Additionally, I am looking to implement this separately from using django-allauth to ...
1
vote
5
answers
478
views
Google SSO - GCP Auth Platform - Cannot create OAuth 2.0 Client
I want to integrate Google SSO in my Flutter App. To do so, in Google Cloud Platform, I configured the Google Auth Platform.
Currently, I have correctly verified all necessary data:
Domain ...
0
votes
2
answers
286
views
Manage django-allauth social applications from admin portal
In all the tutorials I've seen, the django-allauth settings are all in the settings.py file. However, this ends up being kind of messy:
SOCIALACCOUNT_PROVIDERS = {
"google": {
&...
1
vote
1
answer
169
views
Using a Custom Button to Trigger @react-oauth/google's GoogleLogin – Ref Click Not Working
I'm trying to integrate the Google login flow in my React app using the GoogleLogin component from @react-oauth/google. However, I want to customize the UI by hiding the default button and instead ...
0
votes
0
answers
97
views
How to Use the Same Google OAuth Credentials Across Two Domains
I have two domains: let's call them A (currently in production) and B (a test domain).
For reasons I can't disclose, I need to switch from A to B while keeping everything else the same except for the ...
0
votes
1
answer
234
views
Google OAuth2 giving "Invalid grant_type" error
I've been wrestling with learning how to interact with google's api, including learning to use OAuth2. I've gotten most of the way there - I've got the authorization code. Now I'm trying to trade that ...
1
vote
1
answer
112
views
Google Sheets API - Create empty sheet - Slow performance
Using the Python example taken directly from the "Google Sheets API documentation > Create a spreadsheet" and changing only the credentials, I am experiencing poor performance. It's ...
0
votes
0
answers
50
views
Cognito - AdminInitiateAuth fails with NotAuthorizedException
We are currently implementing an app and its corresponding backend with three options to login / signup, Google, Apple and via Email/Password.
When a user chooses Apple or Google and the user is not ...
0
votes
1
answer
89
views
Gmail Oauth2 - restrict the scope to only emails from a certain domain
I have a Django site that uses Google Oauth2 to allow users to grant access to read and reply to their emails.
GOOGLE_OAUTH2_CREDENTIALS = {
'client_id': '********************',
'client_secret'...
1
vote
1
answer
273
views
Use Oauth2+Django to get authorization to access user's Gmail
I was using this tutorial: https://www.geeksforgeeks.org/python-django-google-authentication-and-fetching-mails-from-scratch/. However, the oauth2client library is deprecated and hasn't been touched ...
0
votes
1
answer
54
views
Authentication troubles using Google Drive Java sdk
I'm using Google Drive API java (see versions below) inside a Spring project.
I'm aiming to monitor changes (this part is quite ok)
But I'm struggling to understand what's wrong with Google OAuth
...
0
votes
0
answers
45
views
How can I authenticate with Google's OAuth2 in my webapp?
I've written up a simple python web app meant to parse someone's school schedule and add it to their Google Calendar. It was working perfectly locally, but due to the nature of InstalledAppFlow and ...
1
vote
1
answer
62
views
.NET OAuth2 Sign-on Google server-side & Azure Sign-on
I am having trouble finding the problem with my authentication services. I want to be able to log in with google OAuth 2.0 as well as Azure. For now only azure works. My code goes as followed:
builder....
0
votes
0
answers
58
views
trying to get the token to auth to google cloud vision using a service account in php
so I'm trying to use the Google vision API in php but with out using the SDK as while I got composer on my test system, I just know there's going to be a situation in one of the client servers where ...
0
votes
0
answers
31
views
Django can't display html box of authentifiation
I have the problem that the google auth is not working properly. When I try access the site, then I get the error <a href="{% provider_login_url 'google' %}?next=/">Login with google&...
0
votes
0
answers
46
views
Blazor web assembly + ASP.NET Core Web API with Google OICD
I'm working on a Blazor web assembly + ASP.NET Core Web API project and want to implement Google authentication.
I believe the best practice for implementing OIDC is PKCE + authorization code flow, ...
1
vote
0
answers
56
views
FastAPI authentication token in not appearing in the frontend [duplicate]
I am using google oauth for authentication in my application. But the cookie does not appear in the cookies in the browser. I am returning the redirect response from the callback and setting the ...
0
votes
0
answers
31
views
Google Apps Script in production asks for permissions every week [duplicate]
Related questions:
Google Apps Script asks for permissions every week
Why my Google Apps Script permissions are revoked after few days?
I have a Google Apps Script with a trigger set up to run ...
0
votes
0
answers
21
views
Will the google developer app be marked unsafe during approval of new scopes [duplicate]
We have an existing app under public domain built in google
We improved our functionalities and have added newer scopes to the same existing app
The question is
When we submit the updated app for ...
0
votes
2
answers
436
views
Django Allauth's Google Login Redirect and Page Design
Currently, on the login page, I have a button:
<div class="d-grid gap-2">
<a href="{% provider_login_url 'google' %}" class="btn btn-danger">
<...
2
votes
0
answers
79
views
Do I need two Keycloak clients for Google login (via Keycloak JS) and direct username/password login in a single realm?
I have a backend written in Java and a frontend in ReactJS, where I am using Keycloak for authentication. My frontend handles two types of login flows:
Google Login via Keycloak Identity Provider
...
0
votes
1
answer
80
views
Unable to use Javascript Wallet client with a service account from different GCP project
I am attempting to use the Google Wallet node.js api with a service account.
The service account comes from a different GCP project. I have granted the service account the appropriate role so that it ...
0
votes
1
answer
225
views
React Native Auth Context Not Working Properly With Google Redirect Back
I'm implementing Google authentication in my React Native project using the expo-auth-session library.
The issue is that after selecting the user and accepting the consent screen, when the ...
1
vote
2
answers
340
views
Android: Google OAuth 2.0 with App Links: redirect_uri_mismatch
My task is to set up Google OAuth 2.0 to obtain authorization code (not a token) for later use.
Enabling custom Uri schema in Google Cloud Console is not recommended.
So, to do that I'm using App ...
0
votes
0
answers
131
views
Production Supabase OAuth Google Login Suddenly Failing with unsupported_grant_type
We're experiencing an issue with Google OAuth in production that started today. The code has been running successfully in production for the past 5 months without changes, but is now failing with an &...
-13
votes
1
answer
307
views
Get email, phone, etc from OAuth2 login [closed]
I am working on adding the ability to authenticate in my app using Google OAuth2. My app is a Blazor Interactive Server using the Identity Library (not Blazor Identity). I don't have this working yet. ...
0
votes
0
answers
42
views
Access denied for some Gmail in NextAuth
Learning nextjs after completing Reactjs
In the NextAuth potion I get access denied for my institutional email address but works fine for my personal email.
You may find it usefull:
personal email: ...
0
votes
0
answers
59
views
Authenticating to RestAPI inside self-hosted Airflow from python script
I have a self-hosted Airflow which has Google Oauth implemented. I need to extract data from an REST API within an Airflow DAG that requires authentication. To do this, I want to use a Python script ...
0
votes
0
answers
49
views
Signing with Google - Redirect URI Mismatch Problem
I'm designing a website where I'd like to put sign in with google option. I've already got my cloud web application verified for external users.
Even though this url (https://quadball.tv/register/?...
0
votes
0
answers
63
views
The only correct way to do Google Auth
I am using Google Oauth as the method of signing users. The front end has a single button that when clicked will prompt the user to sign in.
Once the user signs in with the Google prompt, the google ...
0
votes
0
answers
58
views
Youtube API token expires after a few days
I wrote a little python app which will stop and create broadcast via the Youtube API at defined times.
It works all fine but the token created at the first start or when a token does not exists when ...
0
votes
0
answers
51
views
Error trying to verify token generated by Firebase ADMIN SDK
I'm trying to verify a token generated by Firebase ADMIN. Here's the flow:
A function in Firebase ADMIN is called.
const additionalClaims = { veiculoId, sinistroId };
const token = await getAuth()....
1
vote
0
answers
149
views
How to pass custom parameters from NextAuth.js Google sign-in to JWT callback in Next.js app route
I'm trying to pass a userType parameter from my Google sign-in component to the JWT callback in NextAuth.js using the Next.js app router. I need this parameter to determine which API endpoint to call ...
1
vote
1
answer
664
views
Supabase does not append code parameter to the redirect URL after OAuth login
Problem Description
I am implementing Google social login using Next.js and Supabase. The setup works until the point where the user is redirected to the callback URL after authenticating with the ...
0
votes
0
answers
129
views
Google credentials not getting a refresh token?
I have tried to access gmail through the google oauth2 client. However I cannot seem to make it work:
def readEmails():
"""Shows basic usage of the Gmail API.
Lists the user's ...
0
votes
0
answers
152
views
Missing required parameter: redirect_uri: Google API OAuth Problem
I want to build something with the Google Calendar API and now I'm trying to set all things up. I created a project in Google Cloud Console and set it to External with Status "Test". I set ...
0
votes
0
answers
56
views
Proper implementation of Authentication flow for Mobile app + Google OAuth + Backend REST API
I don’t understand how to properly organize the Authentication Flow for a Mobile application + Google OAuth + Backend REST API. I need Google OAuth to register/authenticate the user in the Backend ...
1
vote
0
answers
119
views
How to Retrieve the User ID with OAuth (Google Provider) in authjs?
I’ve successfully implemented sign-in and sign-out functionality using the Google provider in authjs. However, I’ve encountered an issue: when a user is logged in, I don’t have a unique identifier to ...
1
vote
1
answer
227
views
Google OAuth Login in CodeIgniter 3 Redirects on localhost work on my machine but not my teammate
I'm implementing Google login in my CodeIgniter 3 web project. The functionality works perfectly on my local machine. However, when my teammate runs the exact same code on their machine, they ...
1
vote
0
answers
158
views
Looker Studio Community Connector- "Authorize" button not working
I am trying to create a looker studio Google ads connector and I am currently stuck.
Anytime I try to click on the "Authorize" button (please see attached) to initiate connection, it does ...
0
votes
0
answers
46
views
Spring Boot with Google OAuth 2 doesn´t work with Postman
I have an easy Spring Boot API Rest.
It authenticates with Google Oauth 2.0.
To check de API Rest, I´m using Postman.
When I try it on local, everything with Postman works perfectly.
When I try it on ...
-2
votes
1
answer
104
views
Download files from Google Drive using Python and service account [closed]
I'm using a Python script to download a file from Google Drive using a specific file ID. To access the drive, I'm using an active key for a service account saved in the working directory as ...
2
votes
0
answers
68
views
failing to connect to gmail with imap protocol using oauth2
I am working on creating a program to connect to gmail with imap protocol, using oauth2 mechanism for authentication.
I was successfully able to get access token but failing to establish connection.
...
1
vote
0
answers
76
views
role based access control in nextjs using authjs and database with google oauth
I have a condition where certain pages can be accessed according to their role in database
I have followed the tutorial on the Authjs site, and it seems like there is a lack of information, because ...
0
votes
1
answer
421
views
How to generate an event invite link using Google Calendar API?
I’m working with the Google Calendar API and have successfully created events via the API, including adding attendees. My Google account is the organizer of the event.
On the Google Calendar web ...
0
votes
0
answers
95
views
How do I get Google Drive API credentials for my own use (not for a public app)?
I've written a bash script to push backup files from a server to a Google Drive account (using the open source gdrive utility). Creating the script and making it work with "test" credentials ...
0
votes
0
answers
136
views
How to add Keycloak-generated Redirect URI to Google OAuth Allowed Redirect URIs for Multiple Realms?
I have a python and keycloak app.
The architecture of keycloak is a realm for each user.
This is because I want each user to have its own permission system, users, RBAC and such.
When a user creates a ...
0
votes
0
answers
151
views
Flutter Supabase Auth by Google error in not localhost version
I have a problem: when i try to auth with Google using Supabase on localhost (WEB) - this work correctly: after authentication in my URL i can see ?code=?code=7c... . But when i try to auth using ...
0
votes
2
answers
48
views
Nuxt 3 in Docker: environment variables accessible everywhere but not in nuxt.config.ts
I'm trying to move a nuxt 3 app to using docker-compose.
I read in the documentation that .env files are not read by nuxt in production.
So I'm trying to add them to the environment directive in my ...