Integrate keycloak with chat-ui for authentication #644
Replies: 4 comments 3 replies
-
I tried your solution. After entering the account password, the web-ui stays at the login screen. I checked the browser log with F12 and found an error: callback: |
Beta Was this translation helpful? Give feedback.
-
set root url and valid uri and Valid Post Logout Redirect URI to your chat-ui domain in your keycloak`s client setting. |
Beta Was this translation helpful? Give feedback.
-
it seems like docker image 'wtagent:v3' has problem , try to build chat-ui docker image by yourself, please dont share your ip address in comment for safe. |
Beta Was this translation helpful? Give feedback.
-
no, this`s all |
Beta Was this translation helpful? Give feedback.
-
1、setup keycloak and create openid-connect from keycloak, refer to here
2、add OPENID_CONFIG in your .env.local
3、modify some code
4、CSRF(optional),if your keycloak doamin is different with your chat-ui domain,should do this.
if you have more best idea about it,please share,thank you.
Beta Was this translation helpful? Give feedback.
All reactions