HomeSoftware Heritage

auth: Add web UI for API bearer tokens management

Authored by anlambert on Sep 4 2020, 2:51 PM.

Description

auth: Add web UI for API bearer tokens management

Add HTML view reachable from the /api/tokens URL enabling a logged in user
to generate, display or revoke bearer tokens for Web API authentication.

Once generated, each token will be encrypted based on user password and
stored to the webapp database.

Each token related action is also protected by the user password.

Closes T2569