WellNUS / frontend

frontend-well-nus.vercel.app
0 stars 0 forks source link

Authentication fails on browsers that block third party cookies #8

Open StanleyNeoh opened 2 years ago

StanleyNeoh commented 2 years ago

When logging into WellNUS on an apple mobile device which prevents cross-domain tracking or using incognito mode which blocks third-party cookies automatically, session_key cookies set by the backend are not stored as cookies and hence the user is not actually authenticated. But the frontend will still render as if the user is authenticated due to redux assuming so.

StanleyNeoh commented 2 years ago

May want to consider letting a third-party authenticator like firebase handle authentication or utilise the JWT method of authenticating.