개요
Casdoor uses providers to offer third-party services for the platform. 이 장에서는 Casdoor에 제공자를 추가하는 방법을 배우게 됩니다.
우리가 가진 것
Currently, we have seven types of providers:
OAuth 제공자
Casdoor는 사용자가 다른 OAuth 애플리케이션을 통해 로그인할 수 있게 합니다. GitHub, Google, QQ 등 많은 OAuth 애플리케이션을 Casdoor에 추가할 수 있습니다. For more details, refer to the OAuth section.
SMS 제공자
Casdoor sends SMS messages to users when they need to verify their phone numbers. SMS providers are used to send SMS messages in Casdoor.
이메일 제공자
이메일 제공자는 SMS 제공자와 유사합니다.
저장 제공자
Casdoor는 사용자가 로컬 파일 시스템 또는 클라우드 OSS 서비스를 사용하여 파일을 저장할 수 있게 합니다.
결제 제공자
Casdoor는 결제 제공자를 추가할 수 있으며, 이는 제품 페이지에서 제품에 결제 방법을 추가하는 데 사용됩니다. 현재 지원되는 결제 제공자에는 Alipay, WeChat Pay, PayPal, GC가 포함됩니다.
캡차 제공자
Casdoor는 사용자 흐름에서 구성 가능한 캡차를 지원합니다. 현재 지원되는 캡차 제공자에는 Default Captcha, reCAPTCHA, hCaptcha, Alibaba Cloud Captcha, Cloudflare Turnstile이 포함됩니다.
MFA Providers
Casdoor supports external authentication servers for multi-factor authentication. Currently supports RADIUS servers for authenticating users as a second factor during login.
구성 및 사용 방법
범위
Providers have different scopes determined by their creator. Only Administrators have permission to add and configure providers. Casdoor에는 두 가지 유형의 관리자가 있습니다:
Global Administrator: All users under the
built-inorganization and users who have enabledIsGlobalAdmin. Providers created by Global Administrators can be used by all applications.Organization Administrator: Users who have enabled
IsAdmin. Providers created by Organization Administrators can only be used by applications under the same organization (under development...).
애플리케이션에 추가
아래의 단계를 따라 애플리케이션에 제공자를 추가하세요. Note that you cannot use a provider in your application until you have added it.
애플리케이션 편집 페이지로 이동하여 새로운 제공자 행을 추가하세요.

애플리케이션에 추가하려는 제공자를 선택하세요. You will see all providers that the application can use.

OAuth 및 Captcha 제공자의 경우, 사용법을 구성할 수 있습니다. OAuth 및 Captcha에 대한 자세한 정보를 확인하세요.

마지막으로, 저장하여 구성을 완료하세요. 이제 애플리케이션에서 제공자를 사용해 보세요.