benchttp / server

REST API for benchttp.
Other
0 stars 0 forks source link

Authenticate the user when he posts a test and when he get a test visualization #4

Open moreirathomas opened 2 years ago

moreirathomas commented 2 years ago

The auth service must be independent and usable by any handler.

Simply check if the auth token provided matches a user in our datastore. Possibly also verify username/email and password. If not abort. Else remember this user as the one for the request and do the handler stuff.