Dify SSO and access control

Identity and access specifics for Dify: Enterprise SSO with named identity providers, SCIM provisioning, custom roles, web app access levels and external users, plus Community login options.

Dify Enterprise SSO with Keycloak

Using a self-hosted Keycloak as Dify Enterprise's identity provider through standard OIDC or SAML, keeping the whole sign-in path inside your own infrastructure.

Dify Enterprise SSO with GitHub OAuth2

When GitHub sign-in fits a developer-facing Dify Enterprise deployment, how the OAuth2 app is registered, and its limits compared with an enterprise identity provider.

Dify web app access control levels

Choosing who can use each published web app: specific members or groups by default, all platform members, authenticated external users or public, and the permission needed to change it.

Dify MCP user identity forwarding

Passing the signed-in user's identity provider token to downstream MCP servers so tools can authorize and audit per user instead of trusting one workspace credential.

Dify Community edition login options without SSO

What a Community instance can do for sign-in without Enterprise SSO: email and password, one-time email codes, GitHub and Google OAuth buttons, invite-only settings, and putting a reverse proxy authentication layer in front.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.