We need a way to verify the login status in the frontend given that javascript cant access the jwt token due to httponly.
There are two options that i can think of:
create an endpoint that returns the auth status
add a readable token in the cookies that gets set to true when logging in and false when logging out
We need a way to verify the login status in the frontend given that javascript cant access the jwt token due to httponly. There are two options that i can think of: