spring-boot-react-oauth2-social-login-demo
spring-boot-react-oauth2-social-login-demo copied to clipboard
Google sign in error
Hi,
Thank you for the sample application. It works nice in local, but when I deploy it on server its not working here is the scenario,
- UI developed using reactjs
- API developed using Java sprint boot
- On server am running UI with url - https://xyz.com and back-end running as https://xyzapi.com
- At google developer portal redirect uri provided as - https://xyzapi.com/oauth2/callback/google
- Accessing API in UI as https://xyzapi.com (base url)
- When I click on google icon in ui its showing below error.
can you please help me to understand what is going wrong
Access blocked: Authorization Error device_id and device_name are required for private IP: http://192.168.1.10:7171/oauth2/callback/google Learn more about this error If you are a developer of React-Login, see error details. Error 400: invalid_request