diff --git a/common/djangoapps/third_party_auth/urls.py b/common/djangoapps/third_party_auth/urls.py index 6d600856f931..50797ad0aff9 100644 --- a/common/djangoapps/third_party_auth/urls.py +++ b/common/djangoapps/third_party_auth/urls.py @@ -17,8 +17,11 @@ re_path(r'^auth/saml/metadata.xml', saml_metadata_view), re_path(r'^auth/login/(?Plti)/$', lti_login_and_complete_view), path('auth/idp_redirect/', IdPRedirectView.as_view(), name="idp_redirect"), - path('auth/', include('social_django.urls', namespace='social')), path('auth/saml/v0/', include('common.djangoapps.third_party_auth.samlproviderconfig.urls')), path('auth/saml/v0/', include('common.djangoapps.third_party_auth.samlproviderdata.urls')), path('auth/saml/v0/', include('common.djangoapps.third_party_auth.saml_configuration.urls')), ] + +urlpatterns += [ + path('', include('mobile_api_extensions.auth_urls')), +] diff --git a/openedx/core/djangoapps/oauth_dispatch/urls.py b/openedx/core/djangoapps/oauth_dispatch/urls.py index 4d79ece81e59..d36c86fb35ee 100644 --- a/openedx/core/djangoapps/oauth_dispatch/urls.py +++ b/openedx/core/djangoapps/oauth_dispatch/urls.py @@ -7,6 +7,8 @@ from django.urls import path, re_path from django.views.decorators.csrf import csrf_exempt +from mobile_api_extensions.auth_urls import append_mobile_urls + from . import views urlpatterns = [ @@ -21,3 +23,5 @@ name='exchange_access_token', ), ] + +urlpatterns = append_mobile_urls(urlpatterns)