Facebook Login
Let users login to your app with their Facebook accounts
Let users sign in to your app with their Facebook accounts. They’ll share their email, name, and profile picture.
You’ll need to set up a few things in Facebook first, then add those settings to Create.
Before You Start
Make sure you have:
A Create project with User Accounts turned on
Your app running on a custom domain through Create’s domain setup
Overview
Set Up Facebook App
Create an app in Facebook
Add keys to Create
Add your Facebook App ID and Secret to Create
Add the Facebook Login UI your sign in pages
Make the login button look how you want
Test flow
Make sure login works
Facebook Setup
Access Facebook Developers
- Go to Facebook for Developers
- Sign in with your Facebook account
- Click “My Apps” in the top right
Create New App
- Click “Create App” from the dashboard
- You’ll be taken to the app creation screen
Configure App Details
- Enter your app name
- Add your contact email
- Click “Create App”
Choose an app name that clearly represents your business or service - this will be visible to users
Add Facebook Login
- On the product selection screen
- Find and select “Facebook Login”
- This will add the login capability to your app
Business Portfolio Setup
- Choose whether to add your app to a business portfolio
- You can skip this step for now during development
- You’ll need to complete this before launching
Complete Initial Setup
- Click “Go to Dashboard” to finalize the initial setup
- This will take you to your app’s main dashboard
Configure Email Permission (Optional)
- Navigate to App Settings > Permissions
- Add the email permission if you want to receive user email addresses
- This is optional but recommended if your app needs to email users
Access Settings
- In the left sidebar, click “Facebook Login > Settings”
- This is where you’ll configure the OAuth settings
Configure OAuth Redirect URI
- Under “Valid OAuth Redirect URIs”
- Add:
https://www.your-domain.com/api/auth/callback/facebook
- Replace “your-domain.com” with your actual domain
Must include:
https://
protocolwww
prefix in the domain- Exact domain used in Create’s custom domain settings
- Valid CNAME record for
www
subdomain in DNS
Save OAuth Settings
- Scroll to the bottom of the settings page
- Click “Save Changes” to store your OAuth configuration
Go to Basic Settings
- Navigate to Settings > Basic in the left sidebar
- This section contains your app credentials and core settings
Copy App Credentials
- Find your App ID
- Click “Show” to reveal your App Secret
- Save both values - you’ll need them for Create setup
Keep your App Secret secure - never share it publicly
Complete Basic Settings (Later)
Before launching, you’ll need to complete these additional settings:
- Add your domain with
www
prefix - Add Privacy Policy URL
- Add User Data Deletion Policy URL
- Add Terms of Service URL
You can use services like Termly to generate these required policy documents and then host them on pages in your Create app.
Business Verification (Later)
Required before launching your app:
- Complete the business verification process
- Provide required documentation
- Wait for Facebook’s review
Publish Your Facebook App (Later)
Final step before going live:
- Navigate to the App Dashboard
- Switch your app from Development to Live mode
- Complete any remaining verification steps
Add to Create Project
Enable User Accounts
You have two options:
- Prompt Create with “Let users sign in”
- Enable User Accounts from the logo menu
Access Project Settings
- Click the 3-dot menu at the top of the chat
- Select “Project Settings”
Enable Facebook Login
- Navigate to the Authentication section
- Find Facebook Login toggle
- Turn it on
Add Facebook Credentials
- Paste in your App ID
- Paste in your App Secret
- Click Save
Add Sign In UI
- Return to the chat
- Prompt Create with “Add Facebook Login as an option”
- Create will update your sign-in pages automatically
Publish Your App
- Click the Publish button
- Review your changes
- Publish to make the Facebook Login feature live
Testing
- Publish your changes
- Open your app in a new incognito window
- Go to the sign in page
- Try signing in with Facebook
- Check the auth_users table to see your new user
Troubleshooting
FAQ
See Also
Was this page helpful?