This is file log of lms (/edx/var/log/lms/edx.log) Traceback (most recent call last): File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 145, in inner return func(*args, **kwargs) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func response = view_func(request, *args, **kwargs) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/social/apps/django_app/utils.py", line 51, in wrapper return func(request, backend, *args, **kwargs) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/social/apps/django_app/views.py", line 19, in auth return do_auth(request.backend, redirect_name=REDIRECT_FIELD_NAME) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/social/actions.py", line 14, in do_auth for field_name in backend.setting('FIELDS_STORED_IN_SESSION', []): File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/social/backends/base.py", line 30, in setting return self.strategy.setting(name, default=default, backend=self) File "/edx/app/edxapp/edx-platform/common/djangoapps/third_party_auth/strategy.py", line 30, in setting raise Exception("Can't fetch setting of a disabled backend/provider.") Exception: Can't fetch setting of a disabled backend/provider. Oct 16 21:15:53 ubuntuserver [service_variant=lms][django.request][env:sandbox] ERROR [ubuntuserver 3797] [base.py:256] - Internal Server Error: /auth/login/google-oauth2/ Traceback (most recent call last): File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 145, in inner return func(*args, **kwargs) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func response = view_func(request, *args, **kwargs) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/social/apps/django_app/utils.py", line 51, in wrapper return func(request, backend, *args, **kwargs) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/social/apps/django_app/views.py", line 19, in auth return do_auth(request.backend, redirect_name=REDIRECT_FIELD_NAME) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/social/actions.py", line 14, in do_auth for field_name in backend.setting('FIELDS_STORED_IN_SESSION', []): File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/social/backends/base.py", line 30, in setting return self.strategy.setting(name, default=default, backend=self) File "/edx/app/edxapp/edx-platform/common/djangoapps/third_party_auth/strategy.py", line 30, in setting raise Exception("Can't fetch setting of a disabled backend/provider.") Exception: Can't fetch setting of a disabled backend/provider. Oct 16 21:16:02 ubuntuserver [service_variant=lms][root][env:sandbox] ERROR [ubuntuserver 3800] [exceptions.py:9] - Uncaught exception from <class 'django.core.handlers.wsgi.WSGIHandler'> Traceback (most recent call last): File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 145, in inner return func(*args, **kwargs) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func response = view_func(request, *args, **kwargs) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/social/apps/django_app/utils.py", line 51, in wrapper return func(request, backend, *args, **kwargs) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/social/apps/django_app/views.py", line 19, in auth return do_auth(request.backend, redirect_name=REDIRECT_FIELD_NAME) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/social/actions.py", line 14, in do_auth for field_name in backend.setting('FIELDS_STORED_IN_SESSION', []): File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/social/backends/base.py", line 30, in setting return self.strategy.setting(name, default=default, backend=self) File "/edx/app/edxapp/edx-platform/common/djangoapps/third_party_auth/strategy.py", line 30, in setting raise Exception("Can't fetch setting of a disabled backend/provider.") Exception: Can't fetch setting of a disabled backend/provider. Oct 16 21:16:02 ubuntuserver [service_variant=lms][django.request][env:sandbox] ERROR [ubuntuserver 3800] [base.py:256] - Internal Server Error: /auth/login/google-oauth2/ Traceback (most recent call last): File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 145, in inner return func(*args, **kwargs) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func response = view_func(request, *args, **kwargs) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/social/apps/django_app/utils.py", line 51, in wrapper return func(request, backend, *args, **kwargs) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/social/apps/django_app/views.py", line 19, in auth return do_auth(request.backend, redirect_name=REDIRECT_FIELD_NAME) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/social/actions.py", line 14, in do_auth for field_name in backend.setting('FIELDS_STORED_IN_SESSION', []): File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/social/backends/base.py", line 30, in setting return self.strategy.setting(name, default=default, backend=self) File "/edx/app/edxapp/edx-platform/common/djangoapps/third_party_auth/strategy.py", line 30, in setting raise Exception("Can't fetch setting of a disabled backend/provider.") Exception("Can't fetch setting of a disabled backend/provider.")
*WHO CAN HELP ME SOLVE THE PROBLEM ABOVE ?THANK IN ADVANCED!* Vào 14:19:10 UTC+7 Chủ Nhật, ngày 16 tháng 10 năm 2016, Bastiaan Franssen đã viết: > > Maybe a very odd question, but do you have an adblocker or an extension in > your browser called ghostery and enabled the blocking of social media? That > was our problem in the beginning. Very silly, but extremely annoying. > > On Saturday, 15 October 2016 05:01:06 UTC+2, truong nguyen wrote: >> >> Hi everyone ! >> I am trying to enable login or register with Google or Facebook follow >> the steps: >> 1 Enable "ENABLE_THIRD_PARTY_AUTH": true ,in lms.env.json >> 2 Fill client id and client secret in lms.auth.json: >> >> "THIRD_PARTY_AUTH": { >> "Google": { >> "SOCIAL_AUTH_GOOGLE_OAUTH2_KEY": "google_key", >> "SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET": "google_secret" >> } >> 3 restart lms: >> I am not sure with above these steps,After all I login into lms but >> button sign in with google don't appear >> >> -- 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/5c21ee86-daa6-435f-9565-c933984f7488%40googlegroups.com.