๐Ÿ›’ Bringo

Provider Guides

Facebook App

Only needed if you want Facebook login. Create one Facebook app and reuse it for the website and the Customer app.

1. Create the app

  1. developers.facebook.com โ†’ My Apps โ†’ Create App.
  2. Choose a type (Consumer / "Authenticate and request data from users").
  3. Add the "Facebook Login" product.

2. Get your credentials

App ID
Settings โ†’ Basic. A long number.
Client Token
Settings โ†’ Advanced โ†’ Security.
App Secret
Settings โ†’ Basic (for website server-side).

3. Where the values go

Website
App ID + Secret โ†’ admin Social Login. Redirect URI: https://your-domain.com/account/auth/facebook/callback
Customer app (Android)
android/app/src/main/res/values/strings.xml โ†’ App ID, Client Token, fb<APP_ID> scheme.
Customer app (iOS)
ios/Runner/Info.plist โ†’ FacebookAppID, FacebookClientToken, fb<APP_ID> URL scheme.

4. Platform settings

  • Android โ€” add your package name, default activity class, and key hashes (generate from your keystore).
  • iOS โ€” add your bundle id.
  • Web โ€” add your site URL and the Valid OAuth Redirect URI above.
# Android key hash (release) โ€” base64 of your keystore's SHA-1
keytool -exportcert -alias your-alias -keystore your-release.keystore | openssl sha1 -binary | openssl base64