docker-zulip icon indicating copy to clipboard operation
docker-zulip copied to clipboard

SAML Authentication with Keycloak fails

Open sumitrathi95 opened this issue 3 years ago • 1 comments

Hello @timabbott ,

I have installed ZULIP Docker 3.3 in VM Instance on cloud and trying to access it using SAML authentication. I have created a organization using EMAIL and setup user also further I am manually configured below file for SAML Authentication as I am using KEYCLOAK and it supports SAML Authentication:

/etc/zulip/settings.py

I am able to login using Keycloak and active sessions are reflecting in Keycloak Client Sessions but after login the page gets redirected to LOGIN page on ZULIP. I have tried to do changes in backend.py file as suggested in below post:

https://github.com/zulip/zulip/issues/716#issuecomment-379105014

Can you please help me with the code need to changed in backend.py file to access SAML authentication.

sumitrathi95 avatar Dec 29 '20 05:12 sumitrathi95

@peacepenguin I am installing ZULIP 3.3 and trying to integrate it with Keycloak for SAML. I found your post https://github.com/zulip/zulip/issues/716#issuecomment-541824656 regarding the same. I am able to login inside the page but it is redirecting to accounts/find/. Before SAML setup I have created organization and user with email configuration. Can you please help me with the changes.

sumitrathi95 avatar Dec 29 '20 20:12 sumitrathi95