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

Google sign in error

Open ranjit-battewad opened this issue 11 months ago • 0 comments

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,

  1. UI developed using reactjs
  2. API developed using Java sprint boot
  3. On server am running UI with url - https://xyz.com and back-end running as https://xyzapi.com
  4. At google developer portal redirect uri provided as - https://xyzapi.com/oauth2/callback/google
  5. Accessing API in UI as https://xyzapi.com (base url)
  6. 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

ranjit-battewad avatar Jul 13 '23 13:07 ranjit-battewad