Skip to content

Add proper usernames and passwords

Jason Heard requested to merge authentication into master

This adds proper usernames and passwords to the server. User IDs are replaced by the string username. Passwords are stored in plain text for now on the server in the configuration file. The server uses PASETO tokens for authentication passed either via the token cookie or using a bearer authentication header. A proper login form was added to both the CLI and web interface.

In addition:

  • Removed use of ureq in the CLI and use reqwest instead for both blockign and non-blocking calls.
  • Use color-eyre in client code in CLI and web.

Merge request reports

Loading