メインコンテンツにスキップ

アプリケーション設定

After you deploy Casdoor on your server and set up your organization, you can now configure your applications!

Let's see how to configure your application's authentication using Casdoor.

例えば、Casnodeを使ってフォーラムを設定したいとします。

I create my application and fill in the necessary configuration details.

Select the organization I created so that users in this organization can access this application.

組織

この組織はmy_organizationという名前なので、ドロップダウンメニューからそれを選択します。

組織を選択

次に、ユーザーがサインアップするときにCasdoorを認証に使用できるようにしたいと思います。 I fill in the redirect URL here as https://your-site-url.com/callback.

注意

Please note that the callback URL in the provider application should be Casdoor's callback URL, while the Redirect URL in Casdoor should be your website's callback URL.

さらに理解する

認証プロセスを機能させるための詳細な手順は以下の通りです:

  1. ユーザーはCasdoorにリクエストを送信します。
  2. CasdoorはClient IDClient Secretを使用してGitHub、Google、または他のプロバイダーと認証します。
  3. If the authentication is successful, GitHub calls back to Casdoor to notify it about the successful authentication. Therefore, the GitHub authorization callback URL should be your Casdoor callback URL, which is http://your-casdoor-url.com/callback.
  4. Casdoorはアプリケーションに認証成功を通知します。 これは、Casdoorのcallback URLがあなたのアプリケーションのcallback URLである必要があることを意味し、それはhttp://your-site-url.com/callbackです。

Verification Code Settings

You can configure the Code resend timeout to control how long users must wait before requesting another verification code via email or SMS. Set the value in seconds (default is 60). This setting determines the countdown timer duration shown to users on the login page. A value of 0 will use the global default.

ヒント

アプリケーションのサインイン方法をよりパーソナライズして設定したい場合、例えば特定のサインイン方法を無効にするか、特定のサインイン方法をオフにする場合は、サインイン方法を参照してください。