diff --git a/backoffice/config/urls.py b/backoffice/config/urls.py index d9bfd496..b8db1cec 100644 --- a/backoffice/config/urls.py +++ b/backoffice/config/urls.py @@ -1,4 +1,4 @@ -from allauth.socialaccount.providers.orcid.views import oauth2_callback, oauth2_login +from allauth.socialaccount.providers.orcid.views import oauth2_login from django.conf import settings from django.conf.urls.static import static from django.contrib import admin @@ -33,7 +33,6 @@ # API URLS urlpatterns += [ # API base url - path("api/oauth/authorized/orcid/", oauth2_callback, name="orcid_callback"), path("api/", include("config.search_router")), path("api/", include("config.api_router")), # DRF auth token