issues
search
ngsengleng
/
PeerPrep
https://peer-prep-rouge.vercel.app
0
stars
0
forks
source link
Backend: User authentication
#3
Open
ngsengleng
opened
3 months ago
ngsengleng
commented
3 months ago
create a database to store usernames and passwords (encrypted)
endpoints for user authentication when signing up and logging in
TODOS:
[x] jwt token auth stored in httpCookie
[x] protected pages by checking if session token exists in sessionStorage
[x] sql db for username and password storage (and maybe jwt token instead of using redis)
[ ] jwt token storage in redis? (auto expiry)
[ ] temp solution: make rpc calls(?) to auth server to validate jwt
TODOS: