Migrated basic functionality from @alump's Vaadin 8 + Spring Boot + Auth0
(https://github.com/alump/Auth0Demo) and @johannest who migrated for Vaadin 14 (https://github.com/johannest/Auth0Demo) but it wasn't working for me.
If you want to play around with this project, you need to: https://github.com/alump/Auth0Demo
- Register yourself as developer to Auth0
- Create new Client under your account
- Copy your domain, client ID and client secret from Auth0
- (SKIP) Removed Management for simplicity
- Create file
auth0.properties
tosrc/main/resources
, you can useauth0-default.properties
as your template - Compile project with
mvn clean install
- Start the Spring Boot app with
java -jar target/Auth0Demo.jar
- Go to
http://localhost:8080
with your browser
Notice that you need to add your URLs to login and logout URL allowed lists on auth0.com.