Troubleshooting
If you see this:
Try clicking the little arrow to open up the additional message:
Now, you’ll see the Redirect URI that the app is expecting.
If you go back to the Google Developer Console you can see what you really entered.
For example, when I was getting this error message, it’s because I put in this for my Redirect URI:
Rookie mistake! I literally had my-heroku-app
instead of demo-spring-react-example
.
Change it to the correct URI, click save. Then go back to the URL for the home page of your app and refresh the page (you don’t need to restart the application backend; just refresh your browser page.) Click login again, and you should get something like this:
Success!