Огляд
This section describes how to connect your application to Casdoor.
When Casdoor acts as a Service Provider (SP), it supports:
- OAuth 2.0 (OIDC)
- SAML
When Casdoor acts as an Identity Provider (IdP), it supports:
- OAuth 2.0
- OIDC
- SAML
- CAS 1.0, 2.0, and 3.0
OAuth 2.0 (OIDC)
Що таке OAuth 2.0?
OAuth 2 is an authorization framework that lets applications obtain limited access to user accounts on an HTTP service. It delegates authentication to the service that hosts the account and authorizes third-party apps to access it. OAuth 2 defines flows for web, desktop, and mobile applications.
Casdoor’s authorization flow is based on OAuth 2.0. We recommend OAuth 2.0 (OIDC) because it is straightforward to implement, covers many use cases, and is widely supported.
Your application can integrate with Casdoor in three main ways: