Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jhipster social login via Google

I added clientID and clientSecret (created in Google Developer console) to application.yml but I couldn't get it working. Any idea what is causing error 400. Error: redirect_uri_mismatch. I got http://127.0.0.1:8080 in Authorized JavaScript origins.

I did everything what is said in Google's tutorial, but no luck:

https://developers.google.com/identity/sign-in/web/server-side-flow#step_1_create_a_client_id_and_client_secret

like image 938
Sami Avatar asked Nov 08 '15 09:11

Sami


Video Answer


1 Answers

You need to specify in your Google developers console the different redirect url you authorize. For you, you need to add http://127.0.0.1:8080 url.

Little tuto:

  1. Connect to your developer console, click one the main menu

enter image description here

  1. Select API management

enter image description here

  1. Go to Identifiant and select your application, here JHipster

enter image description here

  1. And add your url and save

enter image description here

like image 132
Thibaut Mottet Avatar answered Dec 06 '22 02:12

Thibaut Mottet