spring-boot-react-oauth2-social-login-demo icon indicating copy to clipboard operation
spring-boot-react-oauth2-social-login-demo copied to clipboard

Not getting redirected back to reactjs app after successful login by google

Open kambleaa007 opened this issue 6 years ago • 3 comments

Not getting redirected back to reactjs app after successful login by google, React app stucks at, http://localhost:8080/login/oauth2/code/google?state= need to get back to, http://localhost:3000/

kambleaa007 avatar Jan 05 '20 15:01 kambleaa007

Hi @kambleaa007 ,

Can you share ur request details if not private ?

Thanks

ramazansakin avatar Feb 23 '21 13:02 ramazansakin

you mean reproduction steps, you clone repo, try to run app http://localhost:3000/, it will go to google login page http://localhost:8080/login the spring boot req to /google.com/, then after all success, its not working as expected, it should come to earlier page http://localhost:3000/

kambleaa007 avatar Feb 24 '21 03:02 kambleaa007

When I login via google successfully, it redirects to profile page in microsoft edge browser. But in my chrome browser, there is no social login choices div.

ramazansakin avatar Feb 24 '21 05:02 ramazansakin