Hanzo
PlatformHanzo IAMProvidersOAuth

Facebook OAuth

Add Facebook as an OAuth provider.

Create a Facebook app

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

Facebook select

After entering your name and contact email, you will be taken to the Facebook Developer dashboard.

Dashboard

Next, set up Facebook login:

Facebook login

Choose the Web platform for this app:

Facebook web

Under Facebook LoginSettings, set Valid OAuth Redirect URIs to Hanzo IAM’s callback URL. In Hanzo IAM, the application Redirect URL is your application’s callback URL. See Application config.

Redirect URIs

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

Top bar

Copy App ID and App Secret from SettingsBasic.

Facebook app

Add the provider in Hanzo IAM

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

Facebook Client

How is this guide?

Last updated on

On this page