livehelperchat
livehelperchat copied to clipboard
Single Sign On for Operators
We'd like to support Google Sign In for our operators. Eventually, we might want to be able to add other SSO sources but it would only be Google for now.
https://developers.google.com/identity/sign-in/web/
For our use case, we want to create the users ahead of time and the Google email address would have to match the one they already have on file.
Using the Google hd= option documented here (https://developers.google.com/identity/work/it-apps) we can limit it so users can only select their accounts at our main domain. This isn't really a security feature but it would be nice to have it available as an option.
So the flow I'm envisioning would be like this:
- Administrator logs in and adds users. Their email addresses need to match what Google will use to authenticate.
- Users login. They can login manually using their username and IP address. If they press the button to login with Google it will bring up the Google form.
- Google will send the verification info back to our system which will cross reference the google email address with the operator email addresses in our system.
- If the email address exists as an operator they will be signed in. Otherwise they'll be presented with the "incorrect username or password" error message.
It would be pluginable, because there are many SSO ways like Shibboleth, OpenID etc.
Is integration to something OpenID integration on the roadmap and if so, is there a potential timing for it?
Yes, it's under way. In upcoming month or so.
Hi, Any updates on this. I tried using the https://github.com/LiveHelperChat/livehelperchat-extensions/tree/master/singlesignon with latest code with no success. I am also not seeing this plugin updated for a while now (28 Dec 2014 last commit). We are looking to integrate the livechat but the major blocker for us is Operators being managed by SSO (OpenID).
This code you see in extension it's still valid even it was not updated for a long time. Also you can take look at how login using google was implemented. https://github.com/LiveHelperChat/lhcgoogleauth
Thanks!!!