-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: Fix #910 by referencing External Services
- Loading branch information
Showing
3 changed files
with
55 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
.. highlight:: django | ||
.. include:: meta-mod_facebook.rst | ||
|
||
Plugs into the authentication / signup system to enable Facebook | ||
login. | ||
The mod_facebook module plugs into the | ||
:ref:`authentication systen <guide-authentication>` to enable `Facebook login`_ | ||
on your site. | ||
|
||
Module is still largely undocumented, but this is what was said on the | ||
mailing list about it: | ||
Configuration | ||
------------- | ||
|
||
The url of your site needs to be correctly configured in the Facebook app configuration at Facebook for your site to work. | ||
:ref:`Activate <activating-modules>` mod_facebook, then head to ‘Auth’ > | ||
‘External services’ in the admin interface to enter your Facebook app ID and | ||
secret. Enable Facebook login by checking the ‘Use Facebook authentication’ box. | ||
This will add a ‘Log in with Facebook’ button to the logon form on your site. | ||
|
||
The current (hard coded) test site has the url http://127.0.0.1:8000/ configured. | ||
Use the config keys: | ||
If you need extended permissions, add them to the ‘Scope’ textbox. Note that the | ||
module needs the ‘email’ permission for login to work. | ||
|
||
- ``mod_facebook.appid`` | ||
- ``mod_facebook.appsecret`` | ||
|
||
Both values you can find when you register your site (as an application) at Facebook. | ||
|
||
If you need extended permission for the acquired token, you can use | ||
the ``mod_facebook.scope`` configuration key to set the scope. Note | ||
that the module always will need the "email" permission for the login | ||
to work. | ||
.. seealso:: | ||
|
||
.. todo:: Unfinished doc | ||
* :ref:`mod_instagram` | ||
* :ref:`mod_twitter` | ||
|
||
.. _Facebook login: https://developers.facebook.com/docs/facebook-login/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters