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

OpenShift

OpenShiftはOIDCをサポートしているので、CasdoorをOpenShiftに統合できます。 以下のステップは、Casdoorのオンラインデモを使用してOpenShift LocalとCasdoorを統合する方法を示しています。

Step 1: Create a Casdoor application

In Casdoor add an application. Note Client ID and Client secret. Set Redirect URL to https://oauth-openshift.apps.<cluster_name>.<cluster_domain>/* (adjust for your cluster).

Casdoorにアプリケーションを作成する

ステップ2: OpenShift OAuth設定

今、KubeadminとしてOpenShiftコンソールにログインします。 ログインしたら、サイドメニューをブラウズしてクラスター設定を見つけてください。

OpenShiftサイドメニュー

Under Global Configuration, open OAuth.

クラスター設定のOAuth設定

In Identity ProviderADD, select OpenID Connect.

メニューを選択する

Enter Client ID and Client secret from step 1. Set Issuer URL to https://<casdoor-host> (HTTPS required).

OIDCを設定する

ステップ3: OIDC認証をテストする

Open the OpenShift console in a browser. Select the Casdoor login option (the name configured above); you are redirected to the Casdoor login page.

最終結果