usefulteam / jwt-auth

WordPress JSON Web Token Authentication
https://wordpress.org/plugins/jwt-auth/
124 stars 50 forks source link

fix: Chrome rejects refresh_token cookie in cross-origin requests due to missing SameSite attribute. #103

Open lxbdr opened 1 year ago

lxbdr commented 1 year ago

Chrome prohibits the refresh_token cookie from being set from cross-origin requests because it is missing the samesite attribute.

Things to consider:

sun commented 1 month ago

Sorry for not getting to this earlier. 😬 Your proposed change looks good to me.

We could move forward with it – although Google is now stating that we should implement other/additional measures in the meantime:

Do we want to investigate that here or in a separate issue/PR?