-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
backendfrontendonlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source week
Description
Refrence: #27 (comment)
Storing the access token in sessionStorage may expose it to XSS attacks. Consider using httpOnly cookies or a more secure storage mechanism for sensitive authentication tokens.
Here Need some files like,
- Handling of cookie through BE middleware which should able to read the cookie and decode.
- Update the registerUser api in BE to send the
access_token
in cookie. - Also need to handle the cookie in FE in
app.tsx
file.
Metadata
Metadata
Assignees
Labels
backendfrontendonlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source week