Set up a provider
Register OpenAuth at the provider and enter the provider's App ID and secret.
On this page
Before users can sign in with a provider, the provider must know OpenAuth, and OpenAuth must know the keys the provider gives you. The steps below use Facebook; other extensions work the same way, with the fields that their form shows.
1. Find the callback address
1. Open Extensions and click the provider's card (or Configure in its menu).
2. The Documentation box shows the callback endpoint, for example https://auth.example.com/oauth/facebook/.

The address is built from the address you use to open OpenAuth. Open the admin interface through the same public https:// address that your users will see, so the callback endpoint is the right one.
2. Register OpenAuth at the provider
In the provider's developer console, create an app (Facebook calls it an app; other providers say client or project) and add the callback endpoint as an allowed redirect address. The provider then gives you an ID and a secret.
OpenAuth sends the callback endpoint to the provider as the redirect_uri of every sign-in, so it must match what you registered exactly, including https:// and the slash at the end.
The Facebook extension asks for the email permission, so users see that request on the Facebook consent screen.
3. Enter the keys in OpenAuth
1. In the same form, fill in App ID and Secret with the values from the provider.
2. Press SUBMIT. OpenAuth shows "The configuration has been updated successfully."
The settings apply to the next sign-in; there is nothing to restart.
Check the setup
Start a test sign-in from your app, or follow Check a provider with curl to see the address OpenAuth sends users to.