All Questions
7
questions
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:
...
1
vote
1
answer
174
views
Getting redirect_uri_mismatch with Sign on With Google
I'm getting redirect_uri_mismatch when the backend is attempting to exchange an authorization code for an ID token with Google.
400 Bad Request
POST https://oauth2.googleapis.com/token
{
"error&...
0
votes
0
answers
120
views
Reactjs App using Spring Boot & Google for SSO for Backend Authentication - Reauthenticate After Access Token Expires
I have an application using React for the frontend and Spring Boot for the backend, that use Google SSO (OIDC) for authentication. I'm running in to an issue where the app will not attempt to relog ...
0
votes
0
answers
95
views
OAuth2 with Google "invalid_request" - Spring Boot + React
I have Spring Boot backend and React frontend in which I want to implement OAuth2 with Google. However, I get "invalid_request" error when I want to confirm the login with Google (when I ...
0
votes
0
answers
217
views
How to stop too many redirects in springboot - react - google auth bundled app - securityconfig
I am stuck with too many redirects problem
The initial example code I used is
https://github.com/callicoder/spring-boot-react-oauth2-social-login-demo/tree/master
The example app runs ok if spring and ...
0
votes
0
answers
128
views
Google social login issue while getting basic profile data
currently i am using react and spring boot as google social login.
on react side i am using react-oauth/google and i am getting access token from google side.
but when i call below api from java side
...
0
votes
1
answer
387
views
Google OAuth2.0 React (@react-oauth/google) not working in AWS EC2
Previously, I used the "@react-oauth/google" package to authenticate users on my website. During development, my React app was running on "localhost:3000," and the Spring Boot ...