Keycloak: Session cookies are missing within the token request with the new Chrome SameSite/Secure cookie enforcement

前端 未结 2 1510
天命终不由人
天命终不由人 2021-02-09 04:31

Recently my application using Keycloak stopped working with a 400 token request after authenticating.

What I found so far is that within the token request, the Keycloak

2条回答
  •  遇见更好的自我
    2021-02-09 04:43

    For those who are looking for a short time solution until they update their libraries.

    You can do the following in Chrome:-

    • Go to chrome://flags/
    • Search for "Samesite"
    • Disable "SameSite by default cookies" and "Cookies without SameSite must be secure" flags.
    • Relaunch.

提交回复
热议问题