A SpringBoot application that uses OAuth2 to authenticate users via their Facebook accound instead of specifying a password
##Instructions to run the application:
- Make sure you have a
MySQL
server running. - Run the command
gradle bootRun
while in the root folder. - After application startup, navigate to
http://localhost:8080
. - A web page displaying "Login via Facebook" and buttons for other calls to server will be loaded.
- The button "Hello" corresponding to the server side call
/hello
is accessible to all. - The call
/hello/secure
and/me
represented by "Hello Secure" and "Me" buttons respectively require a valid access token. - You can check the behaviour of the calls before and after Logging in via Facebook.