cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

Automatic User provisioning (LDAP-Support)

Open fkusei opened this issue 4 years ago • 10 comments
trafficstars

It would be nice if the user list could be provisioned from a connected LDAP instance. This would allow Admins to have a calendar link generated automatically when a new user is added, and also have the link automatically become invalid if the user gets deactivated/removed from LDAP.

Ideally one would be able to configure a LDAP filter string for the application to get a list of valid users. The calendar link could simply be your.calendso.instance/the_username_from_ldap

fkusei avatar Apr 21 '21 08:04 fkusei

This is a really cool idea. It's highly unlikely that I'll be making it anytime soon, but if anyone else wants to jump on this, feel free!

pumfleet avatar Apr 21 '21 08:04 pumfleet

this will be a very interesting and cool feature to have, even other than that, generally supporting SAML and user authentication tools like Okta and lemonLdap https://lemonldap-ng.org/welcome/ would be a very welcome situation,

which I believe also corporate customers, that you're targeting would love to have @baileypumfleet

compgeniuses avatar Aug 25 '21 14:08 compgeniuses

does this mean that we have ldap support or something close to this?

compgeniuses avatar Oct 05 '21 18:10 compgeniuses

You can replace native login system to the auth0.com login system and use auth0 saml to make provising

pedro-lucca avatar Oct 09 '21 13:10 pedro-lucca

hello @petrolins thank you for the update.

Kindly how would I be able to replace that. And would that work also with Lemonldap SAML

compgeniuses avatar Oct 10 '21 06:10 compgeniuses

seems they are never going to implement a user dashboard ever. ok point noted and taken

compgeniuses avatar Feb 05 '22 07:02 compgeniuses

@compgeniuses Why do you think, this will not be added? Maybe just someone from the community needs to add some pull request? Or is it documented? Maybe LDAP could also be a nice (paid) plugin?

saschafoerster avatar Apr 16 '22 11:04 saschafoerster

Hello @saschafoerster i was informed that in the next release, and also as per the milestons there is going to be a user dashboard built into the solution.

The reason why i thought and felt this is because. for one, the initial release of the software did not feature an interface for user creation and management. and when they released SSO and LDAP functionality, this was only available in the Hosted version and not the Opensource, self hosted version.

there is not even a documented way of enabling this in the self hosted version, even as a paid plugin.module.

Overall, the direction the project seems to be taking is the Enterprisey corporate way, forgeting the SME and Startups way that the project initally targeted. I can understand if its due to the investment received, however, most people came to this project because its opensource, and seemed to want to focus on intergation with opensource tools, however, this seems not be the case, and it does not focus on opensource tools integration but only coporate tools.

that why.

compgeniuses avatar Apr 16 '22 12:04 compgeniuses

@deepakprabhakara is this something boxyhq.com can do?

PeerRich avatar Dec 19 '22 16:12 PeerRich

@fkusei In your use case is SCIM not possible over LDAP? Just trying to understand if it's a legacy system that cannot use SCIM.

deepakprabhakara avatar Dec 22 '22 11:12 deepakprabhakara

@deepakprabhakara SCIM would be possible, yeah.

fkusei avatar Jan 09 '23 13:01 fkusei

@fkusei SCIM is already supported AFAIK

PeerRich avatar Jan 09 '23 14:01 PeerRich

I am not really experienced with SCIM, SAML and SSO, until now we used LDAP for our self hosted tools to connect it to our user base. I am playing around with authentik https://goauthentik.io which could be a bridge between our LDAP server and the built in SAML of Cal.com. I found this documentation about SAML but I can't really follow what to do: https://developer.cal.com/self-hosting/sso-setup

When I go to https://URL/settings/security/sso on my self hosted instance, nothing loads, but I guess because I didn't configure SAML as I should.

LDAP-integration would make it a bit easier for me. Are there others who got LDAD/SAML/SSO/SCIM working on their self hosted instances and could help by documenting? Or maybe adding LDAP separately as a plugin to Cal.com self hosted?

saschafoerster avatar Jan 15 '23 12:01 saschafoerster

I am not really experienced with SCIM, SAML and SSO, until now we used LDAP for our self hosted tools to connect it to our user base. I am playing around with authentik https://goauthentik.io which could be a bridge between our LDAP server and the built in SAML of Cal.com. I found this documentation about SAML but I can't really follow what to do: https://developer.cal.com/self-hosting/sso-setup

When I go to https://URL/settings/security/sso on my self hosted instance, nothing loads, but I guess because I didn't configure SAML as I should.

LDAP-integration would make it a bit easier for me. Are there others who got LDAD/SAML/SSO/SCIM working on their self hosted instances and could help by documenting? Or maybe adding LDAP separately as a plugin to Cal.com self hosted?

I'm in a very similar situation. Is there anybody that can provide some help?

wokawoka avatar Mar 28 '23 21:03 wokawoka

An LDAP to SAML bridge like authentik seems like a good workaround for this, we are looking into this and will post back with some possibilities. @saschafoerster Happy to guide you through the SSO setup process, you will need to configure a SAML app for it to work.

deepakprabhakara avatar May 25 '23 10:05 deepakprabhakara

@deepakprabhakara do we need to raise a PR for this or is this already possible? If PR, can we get help from boxy?

PeerRich avatar Jun 06 '23 20:06 PeerRich

We are working on adding SCIM 2.0 support to Cal but no current plans to support LDAP directly (Microsoft themselves are moving customers from LDAP to Azure AD). If LDAP can be bridged to SCIM then it would work, I'll find out what options are available for this.

deepakprabhakara avatar Jul 04 '23 12:07 deepakprabhakara

we will ship SCIM 2.0 since LDAP is being deprecated by microsoft and others

PeerRich avatar Sep 04 '23 08:09 PeerRich

the "attributes" feature is coming a bit later. we can start with SCIM

PeerRich avatar Sep 04 '23 08:09 PeerRich

@deepakprabhakara will book @leog for more context around orgs

PeerRich avatar Sep 04 '23 08:09 PeerRich

image add a new page "Audit Log" here

PeerRich avatar Sep 04 '23 08:09 PeerRich

THE MADMAN DID IT @joeauyeung 🥳

SCIM is merged and will get on production today 🙏

PeerRich avatar Mar 07 '24 12:03 PeerRich

Yaay, powered by BoxyHQ 🥳

deepakprabhakara avatar Mar 07 '24 12:03 deepakprabhakara

yes, impossible without y'alls work!!! 🙏 incredibly thankful to be working with the boxy team

PeerRich avatar Mar 07 '24 12:03 PeerRich

will this be available to selfhosted team licensed versions?

compgeniuses avatar Mar 07 '24 15:03 compgeniuses