Skip to main content

Overview

Organization is the basic unit of Casdoor, which manages users and applications. If a user signed in to an organization, then he can access all applications belonging to the organization without signing in again.

In the config of applications and providers, choosing an organization is important, it determines whether a user can access the application using specific providers.

We can also set up LDAP in Casdoor. For more details, please see LDAP.

Casdoor provides multiple password storage algorithms that can be selected in the organization edit page.

NameAlgorithmDescriptionScenario
plain-The password will be stored in cleartext. (default)-
saltSHA256SHA-256 is a patented cryptographic hash function that outputs a value that is 256 bits long.-
md5-saltMD5The MD5 message-digest algorithm is a cryptographically broken but still widely used hash function producing a 128-bit hash value.Discuz!
bcryptbcryptbcrypt is a password-hashing function and is used to hash and salt passwords securely.Spring Boot, WordPress
pbkdf2-saltSHA256 and PBKDF2PBKDF2 is a simple cryptographic key derivation function, which is resistant to dictionary attacks and rainbow table attacks. It's originally implemented in Casdoor for Keycloak syncer. Select this option if you import users by Keycloak syncer.Keycloak
tip

Besides logging into Casdoor via an application (which redirects to Casdoor for SSO), a Casdoor user can also choose to directly log into Casdoor via the organization's login page: /login/<organization_name>, e.g., https://door.casdoor.com/login/casbin in the demo site.