Closed alextreme closed 1 month ago
Workaround being tested/applied here: https://github.com/GeneriekPublicatiePlatformWoo/registratie-component/pull/29
@Coperh discussed with Sergei and please set the default to Lax for now, this should be sufficient for the AMS issue (as the complaint was that SameSite wasn't set)
All components that use the latest OAf will not work with OIDC due to this. Currently:
Apply workaround that Sergei mentioned.
open-api-framework issue, raised by @sergei-maertens
This doesn't work well with Google OIDC (and likely Azure since someone else was running into similar issues). It needs to be set to "Lax". Note that this probably not a problem as soon as you are logged in to google, keycloak can then re-use the existing google session, but for the first login, shit breaks
Suggested workaround: set the session cookie to 'lax' during the oidc login-flow using a custom middleware in mozilla-django-oidc-db, and revert it back to 'strict' afterwards