OpenShift
OpenShift prend en charge OIDC, nous pouvons donc intégrer Casdoor avec OpenShift. Les étapes suivantes montrent comment intégrer Casdoor avec OpenShift Local en utilisant la démo en ligne de 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).

Étape 2 : Configuration OAuth d'OpenShift
Connectez-vous maintenant à la console OpenShift en tant que Kubeadmin. Une fois connecté, parcourez le menu latéral et localisez les paramètres du cluster.

Under Global Configuration, open OAuth.

In Identity Provider → ADD, select OpenID Connect.

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

Étape 3 : Tester l'authentification 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.
