diff --git a/src/consents/urls.py b/src/consents/urls.py index 223c00d82e464671d49226c5f2ef9c08b5892ead..790b3588036c9e4675a7cbd3919291252009b2e1 100644 --- a/src/consents/urls.py +++ b/src/consents/urls.py @@ -8,7 +8,7 @@ urlpatterns = [ path('provider/create', views.CreateProviderConsentView.as_view()), path('user/save', views.SaveUserConsentView.as_view()), path('user/create', views.CreateUserConsentView.as_view()), - path('user/create-via-shibboleth', views.CreateUserConsentViaShibbolethView.as_view()), + path('user/create-via-connect-service', views.CreateUserConsentViaConnectServiceView.as_view()), path('user/status', views.GetUserConsentStatusView.as_view()), path('user/analytics-tokens', views.GetUserConsentAnalyticsTokens.as_view()), path('user/analytics-tokens/consent', views.SaveUserConsentAnalyticsTokens.as_view()), diff --git a/src/consents/views.py b/src/consents/views.py index 674c0b9dd2f64f98b23c5aa322107bcbc34a73ed..966616e5cff34e1d0962b7060e78ca6a71cf7c4f 100644 --- a/src/consents/views.py +++ b/src/consents/views.py @@ -370,7 +370,7 @@ class CreateUserConsentView(APIView): status=status.HTTP_200_OK, ) -class CreateUserConsentViaShibbolethView(APIView): +class CreateUserConsentViaConnectServiceView(APIView): def post(self, request): application_token = request.headers.get("Authorization", "").split("Basic ")[-1]