cssgunc / breast-cancer-hub

GNU Affero General Public License v3.0
1 stars 0 forks source link

Database: Setup authentication API #8

Open frey-mz opened 1 month ago

frey-mz commented 1 month ago
frey-mz commented 1 month ago

the intended api has two parts

server-side:

token is optional, but it is normal practice to save a client sided token for authentication purposes, you can code this without a token match and just have registration/login return if the call was valid or not

registration calls should add a new user to the 3rd party database login calls should replace a user's session token in the 3rd party database token calls should not mutate the db