All Questions
Tagged with google-oauth javascript
927
questions
0
votes
2
answers
44
views
How to convert an image url to File object from Google oAuth response?
In my React project I have a google oAuth API which I'm retrieving the google image url from the response:
const userInfoResponse = await axios.get('https://www.googleapis.com/oauth2/v3/userinfo', {
...
0
votes
0
answers
33
views
How to get current page URL in next-auth google provider
I am new to next-auth, I am trying to make scopes dynamic and for that I need to get current page URL inside fetchScopes code.
Below is my code in [...nextauth]/route.js
let cachedScopes = [];
let ...
0
votes
0
answers
57
views
Supabase is not redirecting to my desired url with google oauth
I am using Supabase for my authentication. With Google OAuth, instead of redirecting to http://localhost:5000/dashboard, it redirects to http://localhost:5000/. How can I fix this?
In the Supabase ...
0
votes
0
answers
39
views
Google OAuth 2.0 issues
I'm having issues with authenticating with Google. I am using react front-end with node as back-end, with an Express server.
Here is the Google API Client side information:
My server endpoint (server ...
0
votes
0
answers
62
views
token from Google Auth not matching otplib authenticator.verify function
I'm trying to get 2fa to work on a backend project.
I have a function that created and store the secret:
import { Injectable } from '@nestjs/common';
import { authenticator } from 'otplib';
import { ...
1
vote
0
answers
70
views
google tasks API "Error fetching tasks: Error: Failed to fetch tasks: 401 Unauthorized"
I'm trying to build a simple tasks web app where users can login with their google accounts and access google tasks via the API. It's basically for my own use where I want to add an advanced search ...
0
votes
0
answers
41
views
"Something went wrong" after adding scope for Google OAuth
When I try to add a scope that has an API, I get "Google hasn't verified the app", which is expected because I have it set as testing, but when I click on "continue", I get "...
0
votes
0
answers
62
views
Handler after press button cancel Login with Google
I have a project with Hapi JS and use Bell for provide Sign in with Oauth Google. In handler for Sign up or Sign in, there problem i found it. If user press Cancel button after choose a account (in ...
-1
votes
1
answer
55
views
Is Google Picker API affected with deprecation of client side javascript libraries?
I am looking to implement Google Picker modal into my product. However, while I was going through the documentation, I came across a page which mentions that the JS libraries are being deprecated.
...
-1
votes
1
answer
29
views
Google OAuth 2.0 Consent Screen Issue: Incorrect Consent Screen Displayed for Different Redirect URIs
I have two OAuth consent screens set up in the Google Developer Console. Both created form say [email protected] and [email protected].
Javascript origin for first website is say first.com and for second ...
0
votes
1
answer
66
views
How can I Get Values If Google Login Success?
In this 2nd example of google authentication: "Building a button with a custom graphic", I´m tryin to get values from auth with google (using exactly code in my domain), but when user make ...
1
vote
0
answers
67
views
NodeJS fetch is tremendously slow with Google API
I use the fetch-node@2 version, and whenever I try to access the Google API via NodeJS, the response time is tremendously and painfully slow. I'm literally waiting 6-8 seconds to retrieve the data. On ...
2
votes
0
answers
158
views
Firebase Messaging Api : Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid credential
<script src="https://www.gstatic.com/firebasejs/9.6.1/firebase-app-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/9.6.1/firebase-messaging-...
0
votes
0
answers
43
views
Issue with OAuth Redirect in Electron App Using Nextron Framework in Production
to authenticate and interact with YouTube APIs. The app works perfectly in development mode, but I am facing an issue in production mode regarding the OAuth redirect URI.
In development mode, the ...
1
vote
0
answers
80
views
Unable to login with Firebase UI
I'm trying to use the starter code from Firebase UI for setting up google login (with redirect), but it doesn't seem to work.
After I click on sign in with google and select my account, ...