This is a demo showing how to make a simple site with Spring Boot and Auth0 for hosting chat app, which can be used live by anyone anywhere.
For details on how this app was created and any other specifics, check out the blog on it.
To get this running:
- Download this repo
- Create an Auth0 account, and get your client ID, client Secret, and Issuer URI. Add these to your application.yml file
- On your Auth0 app, set the app's Allowed Callback URLs to
http://localhost:8080/login/oauth2/code/auth0
, and your app's Allowed Logout URLs tohttp://localhost:8080/
- Create an Ably account. Get an API key from one of your Ably Apps. Add this to your application.properties file
- Run
./mvnw spring-boot:run
in the base of this repo's directory, and you should be set! Load uplocalhost:8080
on multiple browsers, sign up to your Auth0 system through the login button, and starting chatting!