OAuth2 Facebook Service: Unterschied zwischen den Versionen
Aus MoodleDocs
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 6: | Zeile 6: | ||
Um einen OAuth2 Client für Facebook aufzusetzen, gehen Sie folgendermaßen vor: | Um einen OAuth2 Client für Facebook aufzusetzen, gehen Sie folgendermaßen vor: | ||
*Melden Sie sich auf der Seite [https://developers.facebook.com/apps Facebook for Developers Apps] an und Klicken Sie den Button ''Add a New App''. | *Melden Sie sich auf der Seite [https://developers.facebook.com/apps Facebook for Developers Apps] an und Klicken Sie den Button ''Add a New App''. | ||
:[[File:facebook-1-new-app.png| | :[[File:facebook-1-new-app.png|400px]] | ||
* Enter a name and contact email and click the button 'Create App ID'. | * Enter a name and contact email and click the button 'Create App ID'. | ||
:[[File:facebook-2-name.png| | :[[File:facebook-2-name.png|400px]] | ||
*Click Settings on the left, then add an app icon and URLs as desired, choose a category e.g. Education then click the button 'Save Changes'. | *Click Settings on the left, then add an app icon and URLs as desired, choose a category e.g. Education then click the button 'Save Changes'. | ||
:[[File:facebook-3-basic-settings.png| | :[[File:facebook-3-basic-settings.png|400px]] | ||
*Click the link '+Add Product' on the left then for 'Facebook Login' click the button 'Get Started'. | *Click the link '+Add Product' on the left then for 'Facebook Login' click the button 'Get Started'. | ||
:[[File:facebook-4-add-product.png| | :[[File:facebook-4-add-product.png|400px]] | ||
:[[File:facebook-login.png| | :[[File:facebook-login.png|400px]] | ||
*Click Web, then enter your site URL and click Save. | *Click Web, then enter your site URL and click Save. | ||
:[[File:facebook-webapp-wizard.png| | :[[File:facebook-webapp-wizard.png|400px]] | ||
*Click Settings under 'Facebook Login' on the left, then configure the Client OAuth Settings as follows: Set Web OAuth Login to Yes and everything else to No (for security). Enter the callback URL to "your site url + /admin/oauth2callback.php" e.g. <nowiki>https://lemon.edu/admin/oauth2callback.php</nowiki>. then click the button 'Save Changes'. | *Click Settings under 'Facebook Login' on the left, then configure the Client OAuth Settings as follows: Set Web OAuth Login to Yes and everything else to No (for security). Enter the callback URL to "your site url + /admin/oauth2callback.php" e.g. <nowiki>https://lemon.edu/admin/oauth2callback.php</nowiki>. then click the button 'Save Changes'. | ||
:[[File:facebook-5-oauth-settings-v2.png| | :[[File:facebook-5-oauth-settings-v2.png|400px]] | ||
* Click 'App Review' on the left, then click to make your app public. | * Click 'App Review' on the left, then click to make your app public. | ||
:[[File:facebook-6-public.png| | :[[File:facebook-6-public.png|400px]] | ||
*Finally, click Dashboard on the left, get the App ID and App Secret and enter them in Moodle as the client ID and secret. | *Finally, click Dashboard on the left, get the App ID and App Secret and enter them in Moodle as the client ID and secret. | ||
:[[File:facebook_7_app_id_and_secret.png| | :[[File:facebook_7_app_id_and_secret.png|400px]] | ||
[[en:OAuth 2 Facebook service]] | [[en:OAuth 2 Facebook service]] |
Version vom 19. Juni 2017, 07:59 Uhr
Diese Seite ist noch nicht vollständig übersetzt.
Neue Funktionalität
in Moodle 3.4!
Um einen OAuth2 Client für Facebook aufzusetzen, gehen Sie folgendermaßen vor:
- Melden Sie sich auf der Seite Facebook for Developers Apps an und Klicken Sie den Button Add a New App.
- Enter a name and contact email and click the button 'Create App ID'.
- Click Settings on the left, then add an app icon and URLs as desired, choose a category e.g. Education then click the button 'Save Changes'.
- Click the link '+Add Product' on the left then for 'Facebook Login' click the button 'Get Started'.
- Click Web, then enter your site URL and click Save.
- Click Settings under 'Facebook Login' on the left, then configure the Client OAuth Settings as follows: Set Web OAuth Login to Yes and everything else to No (for security). Enter the callback URL to "your site url + /admin/oauth2callback.php" e.g. https://lemon.edu/admin/oauth2callback.php. then click the button 'Save Changes'.
- Click 'App Review' on the left, then click to make your app public.
- Finally, click Dashboard on the left, get the App ID and App Secret and enter them in Moodle as the client ID and secret.