Other: Cannot login to local environment: missing CookieSecurePolicy.Always
?
#1880
Open
2 of 7 tasks
Labels
bug/error
Bugs and errors (timeout)
complexity: unknown
Unknown days of work
priority: low
Issues/Tasks that are not so important
Website (required)
VocaDB
Describe the bug (required)
I had to add
options.Cookie.SecurePolicy = CookieSecurePolicy.Always;
toVocaDbWeb/Startup.cs
for the login cookie (local dev environment) to be accepted.local log:
[.NET ThreadPool Worker] WARN The cookie '.AspNetCore.Cookies' has set 'SameSite=None' and must also set 'Secure'.
browser console:
https://discord.com/channels/309072240639737866/1271565701601296506/1304288453952802887
Checklist (required)
Fill out the checklist. Use
strikethroughsor leave fields empty if you don't know or are unable to check/test.The text was updated successfully, but these errors were encountered: