LDAP or SSO authentication #506
-
Is it possible to integrate LDAP( AD) authentication with either UI or rest endpoint(server side). Also any possible way of integrating SSO authentication. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, you can use external authentication or an auth plugin (auth plugins are supported in the main development branch). Please take a look at the following examples: https://github.com/drakkan/sftpgo/tree/main/examples/ldapauthserver You can use them as starting point. My long term plan is to provide an auth plugin that allows to handle LDAP (AD), system users ecc.. We could add a user type enum to the REST API/web admin which the authentication plugin uses as a hint to understand if it needs to lookup for LDAP users, system users etc. However I'm not a Windows guy, I have limited Windows experience and only a Windows VM, I have no concrete plan for this feature. A PR or a sponsorship could help. Thank you |
Beta Was this translation helpful? Give feedback.
Hi,
you can use external authentication or an auth plugin (auth plugins are supported in the main development branch). Please take a look at the following examples:
https://github.com/drakkan/sftpgo/tree/main/examples/ldapauthserver
https://github.com/drakkan/sftpgo/tree/main/examples/ldapauth
https://www.youtube.com/watch?v=M5UcJI8t4AI
You can use them as starting point.
My long term plan is to provide an auth plugin that allows to handle LDAP (AD), system users ecc.. We could add a user type enum to the REST API/web admin which the authentication plugin uses as a hint to understand if it needs to lookup for LDAP users, system users etc.
However I'm not a Windows guy, I have limited Wind…