dify icon indicating copy to clipboard operation
dify copied to clipboard

Inquiry on Admin and User Account Creation in Dify, and Active Directory Integration

Open MrBrabus75 opened this issue 2 years ago • 5 comments

Provide a description of requested docs changes

Hello,

I've been using Dify locally for testing purposes and have created the initial account during the installation process, which I assume has admin privileges. I have a couple of queries regarding account management and integration:

Multiple Admin and User Accounts: Is it possible to create additional admin and user accounts in Dify? If so, could you guide me through the process or point me to the relevant documentation?

Integration with Active Directory: For future implementation in an enterprise environment, is there a way to link Dify accounts with an Active Directory? This feature would be crucial for streamlined user management and security. Any insights or resources on how to set this up would be greatly appreciated.

Looking forward to your guidance and suggestions on these matters.

Best regards

MrBrabus75 avatar Dec 11 '23 09:12 MrBrabus75

  • We only support one admin account which is initialized when you setup the account. This account can invite multiple users as normal users.
  • We will provide sso as a login method.

crazywoola avatar Dec 11 '23 15:12 crazywoola

With SSO authentication, will it allow me to link authentication to AD? Will it not be blocked? Is it possible to create user and admin accounts later?

MrBrabus75 avatar Dec 11 '23 16:12 MrBrabus75

With SSO authentication, will it allow me to link authentication to AD? Will it not be blocked? Is it possible to create user and admin accounts later?

Nope I think, when you linked an account in our platform, we will automatically create one user in our database.

crazywoola avatar Dec 12 '23 01:12 crazywoola

Do you mean for the cloud version? And what about the self-hosted ?

MrBrabus75 avatar Dec 12 '23 12:12 MrBrabus75

? Sorry for re up the topic

MrBrabus75 avatar Dec 26 '23 17:12 MrBrabus75

Hello there, This part Admin and User Account Creation need to be implemented from your side, so it needs some kind of modifications in code base and database itself. This feature can be done, but we do not have capacity for the feature right now. To tell the truth, the logic user account part is quite simple now. So you can do whatever you like to implement, sso or something else. Not sure if this answer your question.

crazywoola avatar Jan 04 '24 12:01 crazywoola

Thank you for your response. You've addressed all of my questions. I'll start working on implementing this feature and will share the code on GitHub for those who are interested.

MrBrabus75 avatar Jan 08 '24 19:01 MrBrabus75

Thank you for your response. You've addressed all of my questions. I'll start working on implementing this feature and will share the code on GitHub for those who are interested.

@MrBrabus75 I'm excited to see your progress and the code you'll be sharing. Could you please provide me with the link to the GitHub repository once it's available? I would love to take a look and offer any feedback or support if needed.

ZuzooVn avatar Feb 21 '24 17:02 ZuzooVn