OAuth2 Services Setup Project In Facebook: Difference between revisions
Damyon Wiese (talk | contribs) (Created page with "=== Setup App in Facebook === To setup an OAuth 2 client with Facebook, first we need to login to the https://developers.facebook.com/apps Facebook for Developers Apps pag...") |
m (Note about intent to not migrate this page to moodledev.io) |
||
Line 1: | Line 1: | ||
{{Template:WillNotMigrate}} | |||
=== Setup App in Facebook === | === Setup App in Facebook === | ||
Latest revision as of 16:04, 30 April 2024
Warning: This page is no longer in use. The information contained on the page should NOT be seen as relevant or reliable. |
Setup App in Facebook
To setup an OAuth 2 client with Facebook, first we need to login to the [Facebook for Developers Apps page] and create a new app.
Enter the name for the new App and choose a category (Education?).
Go to the app basic settings and set the app icon, and the URLs to your privacy policy and terms of service.
Add the "Facebook Login" product to the app.
Configure the OAuth settings. Set the callback URL to "your site url + /admin/oauth2callback.php". If your moodle site is available at https://lemon.edu/ then the callback URL should be set to "https://lemon.edu/admin/oauth2callback.php". Enable the Web OAuth Login but for best security disable all other types of login.
Go to App Review and make your App public.
Finally go to the basic settings and get the App ID and App secret and enter them in Moodle as the Client ID and Client Secret.