Overview
Integrating Facebook as an identity provider offers your users a convenient and secure way to access your Aikeedo application. This feature leverages Facebook’s OAuth 2.0 protocol, ensuring a streamlined authentication process while maintaining high security standards.Before you begin, ensure you have admin access to your Aikeedo application and a Facebook Developer account for setting up the OAuth integration.
Step-by-Step Integration Guide
1. Create a Facebook App
- Visit the Facebook for Developers website.
- Click on “My Apps” in the top-right corner.
- Select “Create App” and choose the app type that best fits your needs (e.g., “Consumer” or “Business”).
- Follow the prompts to set up your app, providing the necessary information.
2. Configure Facebook Login
- In your app’s dashboard, navigate to the “Add a Product” section.
- Find “Facebook Login” and click “Set Up”.
- Choose “Web” as the platform for your app.
- Enter your website’s URL in the “Site URL” field.
- Click “Save” and then “Continue”.
3. Set Up OAuth Settings
- In the left sidebar, click on “Facebook Login” > “Settings”.
- In the “Valid OAuth Redirect URIs” field, enter the callback URL provided by Aikeedo.
- Scroll down and click “Save Changes”.
4. Obtain App ID and App Secret
- In the left sidebar, click on “Settings” > “Basic”.
- Here you’ll find your “App ID” and “App Secret”. You’ll need these for Aikeedo configuration.
Keep your App Secret confidential. Never share it publicly or include it in client-side code.
5. Configure Aikeedo
- Log into your Aikeedo admin panel.
- Navigate to Settings > Identity providers > Facebook.
- Toggle the switch to enable “Login with Facebook”.
- Enter the “App ID” and “App Secret” obtained from your Facebook App.
- Click “Save changes” to apply your configuration.
Testing Your Integration
After completing the setup, it’s crucial to test the integration to ensure a smooth user experience:- Log out of your Aikeedo application.
- On the login page, look for the “Login with Facebook” option.
- Click the option and proceed through the Facebook authentication flow.
- Verify that you can successfully log in and access your Aikeedo account.
If you encounter any issues during testing, double-check your configuration settings in both the Facebook Developer Console and Aikeedo admin panel.
Video Tutorial
For a visual guide through this process, check out our step-by-step video tutorial:Troubleshooting
If you experience any difficulties with the Facebook identity provider integration, consider the following:- Ensure the callback URL in Facebook Developer Console matches exactly with the one provided by Aikeedo.
- Verify that you’ve configured the Facebook Login product correctly in your Facebook App.
- Check that your app’s privacy policy and terms of service URLs are set correctly in the Facebook App settings.