ElixirTeSS / TeSS

Training e-Support Service using Ruby on Rails.
Other
12 stars 12 forks source link

Change cookie SameSite setting to "Lax" #1015

Closed fbacall closed 2 weeks ago

fbacall commented 2 weeks ago

Summary of changes

Motivation and context

LS-Login was broken, because with a SameSite=strict cookie, cookies are not sent immediately following a redirect, so Rails creates a new session for the user which does not have the stored OAuth2 state or nonce, causing verification to fail.

Checklist