-
Notifications
You must be signed in to change notification settings - Fork 42
Antiforgery issue when hosted in AWS ECS #168
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
Comments
|
Thank you for rapid reaction
|
Soooo, after futher investigation I've noticed a warning in Chrome about attempt to set SECURE cookie over HTTP request (I didn't set up https yet). And in my cookie policy it was set to AlwaysSecure/SameSite.None. So i've changed config to SameAsRequest/SameSite.Lax and boom, done. Anyway thank you for your help ) PS I understand that using non-secure cookies is not a good idea, but so far so good, I don't have experience in setting up certificates etc :) |
Hello!
I'm using steam auth in my app (.NET 8 Blazor ssr app) and came across the issue - when running localy (pure dotnet or doker) everything goes well Auth working as expected, but once I've published my App into AWS ECS cluster it stopped working.
Looks like there is some issue with Antiforgery cookies:
Maybe you could help with solving that as I'm totally exhausted with googling anything related to that issue :(
PS Meanwhile deployed my app (kinda just an pure API with steam auth) into DigitalOcean and it works... but not in AWS
The text was updated successfully, but these errors were encountered: