Changes between Version 1 and Version 2 of UserGuidelines/Admin/Authentication


Ignore:
Timestamp:
10/28/13 03:28:43 (8 years ago)
Author:
Sundeep
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserGuidelines/Admin/Authentication

    v1 v2  
    99== Facebook ==
    1010
     11The first step to be taken for enabling Facebook Login feature in Sahana is to create a Facebook app and get the App ID/Api Key. Now open the file Eden\web2py\applications\eden\models\000_config.py and uncomment the following two settings. Also enter the FB ID and Key in respective settings.
     12
     13settings.auth.facebook_id = <fb secret id>
     14settings.auth.facebook_secret = <fb secret key>
     15
     16Also add the following property to activate the Facebook like button
     17settings.ui.social_buttons = True
     18
     19After making the above modifications, we need to restart the server for the changes to take effect. Once the server restarts you'll see a button "Login with Facebook" visible on the home page
     20<<insert image 1 here>>
     21
     22You can use any active Facebook account to login to Sahana. After logging in, a like button will be available at the end of every Sahana web page. Once a user likes a page, the like link changes to confirm link. Once the user presses the confirm link, a wizard opens which allows the user to post a message to his facebook account.
     23<< insert rest of images here in sequential order>>
     24
     25
    1126== Google ==
    1227