Zum Hauptinhalt springen

Facebook OAuth

Create a Facebook app

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

Facebook auswählen

Nachdem Sie Ihren Namen und Ihre Kontakt-E-Mail eingegeben haben, werden Sie zum Dashboard des Facebook-Entwicklers weitergeleitet.

Dashboard

Als Nächstes richten Sie die Facebook-Anmeldung ein:

Facebook-Anmeldung

Wählen Sie die Webplattform für diese App:

Facebook-Web

Under Facebook LoginSettings, 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.

Weiterleitungs-URIs

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

Obere Leiste

Copy App ID and App Secret from SettingsBasic.

Facebook-App

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.

Facebook Client