Facebook OAuth
Create a Facebook app
Go to Facebook Developers and create a new app. Choose the app type (e.g. Consumer).

Après avoir entré votre nom et votre email de contact, vous serez dirigé vers le tableau de bord du développeur Facebook.

Ensuite, configurez la connexion Facebook :

Choisissez la plateforme Web pour cette application :

Under Facebook Login → Settings, set Valid OAuth Redirect URIs to Casdoor’s callback URL. In Casdoor, the application Redirect URL is your application’s callback URL. See Application config.

Switch the app from In development to Live in the dashboard top bar.

Copy App ID and App Secret from Settings → Basic.

Add the provider in Casdoor
Create an OAuth provider, set Type to Facebook, and enter App ID as Client ID and App Secret as Client Secret.
