Basically, I'm trying to get SAML Responses that use HTTP Post bindings to work. Obviously POST is not allowed cross-site when SameSite=lax and thus this breaks the SAML flow when using it and checking the relay state, and in response to attributes.
Is there a built in way in Laravel to make unauthenticated user's cookies be SameSite=none, but then once the user authenticates switch to lax?
If not, I'm assuming the best place to handle this would be in a new middleware that invalidates the old cookie if the user is authenticated and it is same site none with a new cookie that is same site lax?
I'm curious if anyone knows of something someone has already written out there that handles this situation also.