skip to Main Content

I have a Laravel application with Filament v3. When I try to log in to the application via the domain name directly, everything works fine. However, when I try to log in via an iFrame, it just reloads the login page and nothing further happens.

I have set the following in my ENV:

SESSION_SAME_SITE=none

Further, when I check the network tab, it shows that it is only the XSRF-TOKEN that applies the "SameSite = None":

enter image description here

2

Answers


  1. Chosen as BEST ANSWER

    I was able to solve this by specifying the SameSite value directly in the .env file as below:

    SESSION_PATH="/;SameSite=None; secure"
    

  2. Try to set no value to it like:

    SESSION_SAME_SITE=
    

    Or you can remove this line if no value.

    Thanks.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search