We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I used a lot of this repo to do ssr auth on my side, especially the req thing was very usefull.
I am little confused about the HttpOnly flag, protecting agains XSS .. and you are not using here but also that is referenced on Firebase Auth.
Am I wrong here or should we use something else to "protect" cookie ?
I tried to do something like this but It's not working:
auth.addAuthTokenListener(function (idToken) { document.cookie = '__session=' + idToken + ';max-age=' + (idToken ? 604800 : 0) + ';HttpOnly' })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I used a lot of this repo to do ssr auth on my side, especially the req thing was very usefull.
I am little confused about the HttpOnly flag, protecting agains XSS .. and you are not using here but also that is referenced on Firebase Auth.
Am I wrong here or should we use something else to "protect" cookie ?
I tried to do something like this but It's not working:
The text was updated successfully, but these errors were encountered: