spring-guides / tut-spring-boot-oauth2

Spring Boot and OAuth2:: A tutorial on "social" login and single sign on with Facebook and Github

Home Page:https://spring.io/guides/tutorials/spring-boot-oauth2/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings

diswho opened this issue · comments

I try to do as tutorial of "Single Sign On With Facebook" and get error in step "Securing the Application".
It show "URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs."

Please provide me which "redirect URI" I have to add.

The app as configured in the source code is registered with http://localhost:8080. If you run it locally and browse it like that it will work I think.