Missing cookie when using any browser except Firefox!!!

580 views
Skip to first unread message

LLC Platform

unread,
Feb 16, 2021, 4:55:24 AM2/16/21
to SimpleSAMLphp
Hi,

I'd installed both IDP and SP on the same host, and were configured for default authentication,  you can try them here:

for the IDP and 
for the SP

Everything works fine when using the Firefox browser, but any other ones (chrome or edge) returns the following message, be aware that "allow all cookies" option is enabled on those browsers:
Missing cookie

You appear to have disabled cookies in your browser. Please check the settings in your browser, and try again.

Please see attached snapshot.

Any help?
MissingCookies.png

pat...@cirrusidentity.com

unread,
Feb 16, 2021, 1:25:09 PM2/16/21
to SimpleSAMLphp
According to https://web.dev/samesite-cookies-explained/#samesitenone-must-be-secure
setting SameSite on a cookie without setting secure will cause some browser to reject it.
Your SP is not setting the secure flag but is setting the SameSite flag. Try enabling the secure flag.

- Patrick

LLC Platform

unread,
Feb 17, 2021, 4:05:22 AM2/17/21
to SimpleSAMLphp
Yes indeed, setting the secure flag for both the SP and IDP solves the problem.

Thanks a lot

Reply all
Reply to author
Forward
0 new messages