Open
Description
Required by #8
As we have a backend, we can create an Auth0 app using Mozilla-IAM scopes.
Auth0 has a nice doc for generic Python backends
We'll need to add several endpoints:
/v2/auth/login
that redirects the user to an Auth0 url for starting the login process/v2/auth/logout
that terminates the current Auth0 session
The frontend will also need to receive the callback from the Auth0 signin process and react accordingly.
Protected endpoints will then be able to check a Json Web Token, and check the users scopes (as specified in the doc).