问题
- I am trying to open keycloak
manage-account
page using iframe into my application, but I'm getting an error.
Browser log
Below is keycloak configuration
NOTE: Working in firefox, but not in Chrome
回答1:
In chrome, it is not working due to the SameSite
setting in the chrome browser. To enable the working for the above problem you just need to follow the below steps and your problem gets resolved.
- Go to chrome://flags/
- Search for
Samesite
- Disable "SameSite by default cookies" flags.
- Relaunch
来源:https://stackoverflow.com/questions/64153024/how-to-open-manage-account-page-within-iframe-in-keycloak