-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
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
Include Cookies in requests #18
Comments
Hi @nielsole! Thanks again! |
Hi @nielsole, I assume you fixed this yourself earlier but I just wanted to let you know that I added credentials include to the website with https://github.com/yopass/website/pull/1 |
thanks, I didn't get to properly fixing it and had a workaround running. 🎉 |
@nielsole glad you managed to get a workaround. I quickly discovered that the fix I pushed caused yopass to fail under aws lamda because of CORS header checks and reverted not to mess things up for existing users. A workaround would be to have an environment variable during build of website to enable credentials, how does that sound? |
that sounds good. |
Hi Johan,
thanks for the great software
I am running yopass behind SSO. Authentication is done via a cookie.
Unfortunately currently yopass is not sending the cookies with the request.
The field that will most likely solve this is: https://developer.mozilla.org/en-US/docs/Web/API/Request/Request
credentials: include
I do not see any case where transmitting the cookie with the request would have negative consequences, so this might be good to make the default behaviour.
The text was updated successfully, but these errors were encountered: