概览
在 Casdoor 中,每个受保护的服务都是一个应用程序。 应用程序彼此独立:部署、配置或禁用其中任意一个都不会影响其他应用程序。
要将 Casdoor 用作你的 Web 应用的身份提 供者,请将每个应用注册为一个 Casdoor 应用。 登录到某个组织的用户随后无需再次登录即可访问该组织中的所有应用程序。
应用程序配置灵活:
- 启用或禁用基于密码的登录和第三方登录
- 配置用户可使用哪些身份提供商(例如,Google、GitHub)进行登录
- 按应用程序自定义注册字段和登录选项
本节将指导你创建并配置你的第一个应用程序。
Partial updates with the columns parameter
/api/update-application accepts an optional columns query parameter to perform a partial update: only the listed fields are written, and every other field on the application is left untouched. Omit it (or leave it empty) to update the full application object.
Field names in columns may be written in either camelCase or snake_case — both are accepted and map to the same underlying column. For example, columns=displayName,logo and columns=display_name,logo are equivalent.