1. Facebook Authentication
1.1. Create Facebook Application
To get started with Facebook authentication, you first need to create a new Facebook application.
Sign in with your Facebook account:
My Apps link from the top right of that page and choose
Add a New App from the drop-down menu.
Choose a display name, a contact email address and a category and click
Create App ID.
After completing the security check, your application should be created and you land at the
Product Setup page.
1.2. Setting up Facebook Application
Product Setup page, click the
Get Started button for the
Facebook Login product.
Instead of using the Quickstart wizard and selecting a platform, just click on the
Settings link in the Facebook
Login section from the menu on the left.
You can leave all settings as shown in the screenshot and use the following URL for the
Valid OAuth redirect URIs:
Save Changes to save the changes you made for the Facebook Login product. Next, open the
Settings page from
the left menu and enter the following value for the App Domains: cloud.gluonhq.com
Scroll down, click the
Add Platform button and choose the
Enter the following URL as the Site URL: https://gluonhq.com
Save changes to apply the configuration settings. Afterwards, click on the
Show button inside the
text field, to make the application secret of your Facebook application visible. Insert your Facebook password when prompted.
1.3. Gluon Dashboard
Copy the App Id and the App Secret, and browse to the Gluon Dashboard web application. Navigate to the Login Methods
tab on the User Management link, click the
+ button, and add a new Facebook login method from the drop-down list. Paste the
App Id and
App Secret in the
Network Key and
Network Secret fields respectively, and click the
Save button to apply your changes.
Finally, make sure that you make your Facebook application public. Click the
App Review menu item on the
left. Then click the toggle button and confirm the dialog that pops up to make the application public.