- Create a new Auth0 application (Single page app)
- Create a new Auth0 API:
- Choose
RS256
signing algorithm - Set identifier (audience) to
https://sist2
- Choose
- Download the Auth0 certificate from https://.auth0.com/pem (you can find the domain Applications->Basic information)
- Extract the public key from the certificate using
openssl x509 -pubkey -noout -in cert.pem > pubkey.txt
- Start the sist2 web server
Example options:
sist2 web \
--auth0-client-id XXX \
--auth0-audience https://sist2 \
--auth0-domain YYY.auth0.com \
--auth0-public-key-file /ZZZ/pubkey.txt