Close this repository and navigate to the folder with the source code on your machine in a terminal window.
Create a new local.properties
file by running cp local.properties.template local.properties
.
Edit the new local.properties
file and add your STYTCH_PROJECT_ID
and STYTCH_PROJECT_SECRET
, which can be found in your Stytch Project Dashboard.
Visit https://stytch.com/dashboard/redirect-urls to add http://localhost:3000/authenticate
as a valid sign-up and login URL.
Run ./gradlew bootRun
Visit http://localhost:3000
and login with your email. Then check for the Stytch email and click the login or sign in button.
You should be signed in!