-
Sign in to easyauth.io and create a new 'Registered Client' with redirect URI set to
http://127.0.0.1:8080/login/oauth2/code/easyauth
-
Clone the sample app from https://github.com/easyauth-io/easyauth-spring-boot-example
git clone git@github.com:easyauth-io/easyauth-spring-boot-example.git
-
Open the project in your favourite editor.
-
Edit the
src/main/resources/application.properties
file and set the values from your 'Registered Client' that you created in step 1 in place of the curly braces - {}. -
Run the project and visit http://127.0.0.1:8080
easyauth-io/easyauth-spring-boot-example
User authentication example for spring boot application using easyauth.io
Java