Skip to main content

All Questions

Tagged with
-1 votes
0 answers
32 views

JWT token not being set in cookies when using Google OAuth with frontend on Vercel and backend on Render

I'm implementing Google OAuth login in my website. On localhost, everything works fine: after a successful Google login, JWT tokens are set in cookies, and authentication works as expected. However, ...
Hemant Yadav's user avatar
0 votes
0 answers
53 views

How to make a function "globally available"?

I am following the instructions to use the pre-built OAuth Google Login with NextJs for use with SupaBase. Step 4 says: Create a handleSignInWithGoogle function that takes the CredentialResponse and ...
Phil Lucks's user avatar
  • 3,814
0 votes
0 answers
39 views

Google Login with Django and React

I am trying to integrate google login with Django and React (Vite) but I keep getting an error. I have set up the credential on google cloud console, I use @react-oauth/google for the login in the ...
Chinyere Unamba's user avatar
0 votes
0 answers
90 views

Integrating Google Authentication in a MERN stack application

I am beginner in MERN full stack Development. I was taught MERN by doing a project (they taught me how to build a stack overflow like website). So in order to build on top of that, I was trying to ...
ReactRetard's user avatar
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 ...
Argentum's user avatar
0 votes
1 answer
120 views

In my Next.JS app, why is adding the User model import to this file creating Module Not Found errors?

I'm building a Next.js app and ran into a road block. The second I add the User model to the file below (line 3) I get a bunch of errors like.... code: 'MODULE_NOT_FOUND', page: '/api/auth/_log' and ...
Boingoloid's user avatar
0 votes
0 answers
70 views

How to debug error 401/403 for Google Calendar API?

{ "error": { "code": 403, "message": "Method doesn't allow unregistered callers (callers without established identity). Please use API Key or other form of ...
Jadon Leung's user avatar
0 votes
0 answers
49 views

Problems with CORS when using Google OAuth2 in Spring boot/React app

I'm working on a React frontend that communicates with a Spring Boot backend. My goal is to secure certain endpoints on my Spring Boot server using JWT, which includes role information. Current Setup: ...
Emma Johnson's user avatar
0 votes
0 answers
50 views

AdonisJS 6 REST API social auth for React (TS) Front end

I'm using AdonisJS 6 to create a REST API for my web app (and mobile app in the future). The user can login using email + password or Google (OAuth). My API is running in URL https://api.example.com ...
andyr's user avatar
  • 193
0 votes
0 answers
60 views

Google OAuth2 login not working when using hosting site domain

So I have been implementing a google authentication with OAuth2. For react project part I am using a @react-oauth/google However, when I use a localhost, this does work, but whenever I reach my hosted ...
Mantofka's user avatar
  • 276
0 votes
0 answers
45 views

Why does a white rectangle appear behind the Google button when using Bootstrap's dark theme?

I am facing an issue with integrating the Google button. When using Bootstrap's dark theme (data-bs-theme="dark"), a white background appears behind the Google button. However, this does not ...
TraVVeL's user avatar
0 votes
0 answers
46 views

How to implement OAuth2.0 correctly in React app?

I have been trying to introduce authentication with Google account in my web application In the following code snippet in useEffect() I initialize the OAuth client and then, when the button is clicked,...
XterS's user avatar
  • 11
0 votes
0 answers
276 views

Google Login Inside Telegram Mini apps

I am trying to implement Google login using @react-oauth/google package in Telegram's Mini App. The process is as follows:- user clicks on a button inside miniapp Google login opens in a window and ...
Bijan Kundu's user avatar
0 votes
0 answers
17 views

Strapi Google Oauth Internal Server Error

I am trying to set google authentication with my Strapi app. I have gone through the setup and added the necessary links as shown from the screenshots below. However when I hit the endpoint https://...
Norbert's user avatar
  • 7,620
0 votes
0 answers
20 views

Cannot Open Open File From Server Action in Next 14

I am trying to authenticate using google cloud. Per their documentation, I got the crendentials.json and for testing purposes I added to the root directory of my project. here is the snippet of code ...
RALPH MAALOULY's user avatar

15 30 50 per page
1
2 3 4 5
25