I'm going to bump this up.
There are many other requests EVERYWHERE that this request can fulfill.
A proper SAML integration would provide for:
(Items in " are items that SAML could be "used" to provide, although not actually part of the protocol)
- Single Sign On
- MFA
- "AD integration"
- "Password Sync"
- "LDAP"
- and much more
Some 3CX threads asking for this:
https://www.3cx.com/community/threads/ldap-active-directory-authentication.49680
https://www.3cx.com/community/threads/3cx-multi-factor-authentication.50642
https://www.3cx.com/community/threads/final-word-on-ad-integration.67807/
From a development standpoint, this actually isn't too complicated. I am not proposing any changes to the 3CX standalone authentication system - that can stay as is. So no reworking SIP passwords, webclient password, permissions, or anything else.
The workflow would look like this:
- User hits SAML provider webpage (Not 3CX's responsibility)
- SAML authenticates user via authentication database. This is likely AD in most cases (Not 3CX's responsibility)
- IDP (SAML Provider) passes along needed attributes to 3CX in the claim. (Not 3CX's responsibility)
- SP (3CX) matches an attribute like email to an extension number's email address. (3CX needs to build a listener)
- 3CX sends back authorization and logs user in as matched extension (3CX needs to build this)
- User is logged in and happy.
How does this address the 5 concerns above?
- Single Sign On - Core focus here...
- MFA - you can almost always enforce MFA on your SAML provider, allowing instant MFA. For example, DUO, a MFA provider, has plugins for ADFS, a SAML 2.0 IDP.
- "AD integration" - Most SAML IDPs can use AD as the authentication database. ADFS can and does.
- "Password Sync" - Most SAML IDPs can use your current password provider as the authentication database. Mostly the same as 3.
- "LDAP" - see above. While not providing LDAP exactly, most people requesting it are doing so for password sync.
And while this doesn't cover every use case of "AD Integration" or similar, it covers 90% of what people want.