Hello Swapnil

Our Open edX is having the same problem error 500 after login of Google.

Can you show more details about your suggestion, since I cannot find a way 
to add "{ "USE_DEPRECATED_API": true }" in django admin ?

thanks,


swapnil vishnoi於 2016年2月22日星期一 UTC+8下午6時49分53秒寫道:
>
> Hello NIlesh,
> Have you tried to add django admin setting and go to thirdparty 
> authentication module and edit google-oauth2 than go to other setting " and 
> add
> { "USE_DEPRECATED_API": true }" in other setting module. hope this will 
> help you.
>
> On Monday, 5 January 2015 22:56:54 UTC+5:30, Nilesh Londhe wrote:
>>
>> I am thankful for this great community around edX.  Thanks John Cox and 
>> Trinh Nguyen for your work on edX third party auth. 
>>
>> I have set up aspen.1 release on a single instance like this.
>>
>>  sudo apt-get update -y
>>  sudo apt-get upgrade -y
>>  sudo reboot
>>
>>  sudo su -
>>  OPENEDX_RELEASE=aspen.1 wget https://
>> raw.githubusercontent.com/edx/configuration/master/util/install/vagrant.sh 
>> -O - | bash
>>
>> Then followed instructions at 
>> http://johnmcox.blogspot.com/2014/05/getting-started-with-edx-third-party.html
>>  
>>  to enable google auth
>>
>> I created auth on google console and I edited 
>> /edx/app/edx_ansible/edx_ansible/playbooks/roles/edxapp/defaults/main.yml 
>> like this. 
>>
>> # Settings for enabling and configuring third party authorization
>> EDXAPP_ENABLE_THIRD_PARTY_AUTH: true
>> EDXAPP_THIRD_PARTY_AUTH: {
>>  "Google": {
>>         "SOCIAL_AUTH_GOOGLE_OAUTH2_KEY": "
>> 15435345345-1usdffdv57hn979n3js90v7n1b.apps.googleusercontent.com",
>>         "SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET": "SDF34L7Ulinksndf-q5"
>>     }
>> }
>>
>>
>> Then I ran update.
>>
>> sudo /edx/bin/update edx-platform release
>>
>> Google Social Auth seems to work but fails at the very last stage. 
>>
>>
>> http://domain.edu/auth/complete/google-oauth2/?state=8owY8hrBOOFcTUehpYepQEzXGLC59KNe&code=4/FycnDCCavs12APaeGijdqFIzDoWKQk4UM06KxRWEA18.skN3WFWrEewTEnp6UAPFm0GIDTV2lQI
>>
>> It shows a 500 error.  What am I missing?
>>
>>  
>> On Tuesday, July 8, 2014 6:37:39 PM UTC-7, Trinh Nguyen wrote:
>>>
>>> You were right John. I removed the  'social.apps.django_app.default' 
>>> from the lms common settings and it works now.
>>>
>>> The reason for me to add that app to the lms settings is because of a 
>>> bug 2 month ago: https://github.com/edx/edx-platform/issues/3639. I 
>>> didn't enable third-party-auth at that time.
>>>
>>> Anyway, it's good to figured out why.
>>>
>>> Thanks again.
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/d9a7162a-0042-44e6-99f5-9d004e1c49f6%40googlegroups.com.

Reply via email to