Not able to activate google and linked authentication

32 views
Skip to first unread message

ava...@perpetualny.com

unread,
Dec 8, 2016, 11:45:24 AM12/8/16
to General Open edX discussion
Hi

I am trying to enable google authentication on eucalyptus release.

I am not able to see sign in with google option below login form.

I have followed steps below:

1) Add below in /edx/app/edxapp/lms.env.json inside feature dictionary.
    "ENABLE_THIRD_PARTY_AUTH": true,
    "AUTH_USE_OPENID_PROVIDER": true,
    "ENABLE_COMBINED_LOGIN_REGISTRATION": true,

2) Generate oauth client id and secret for google oauth access.

3) Add below in /edx/app/edxapp/lms.auth.json 

"THIRD_PARTY_AUTH": {
    "Google": {
        "SOCIAL_AUTH_GOOGLE_OAUTH2_KEY": "google_key",
        "SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET": "google_secret"
    },
    "LinkedIn": {
        "SOCIAL_AUTH_LINKEDIN_OAUTH2_KEY": "linkedin_key",
        "SOCIAL_AUTH_LINKEDIN_OAUTH2_SECRET": "linkedin_secret"
    }
}

(I am also seen this SOCIAL_AUTH_OAUTH_SECRETS in auth json file , where i can find its detail structure ?)

4) Added API details and set visible to true in admin panel for Provider Configuration (OAuth).

5) Run migration/syncdb and update asset.

6) Restart server


Is any steps is wrong/missing/change ? Where can i get latest document for enabling google and linked authentication ?

Thanks
Avadhut

Reply all
Reply to author
Forward
0 new messages