style(auth): format SSO implementation

This commit is contained in:
Aleksandr Meshchryakov
2026-09-21 16:44:34 +02:00
parent 5a7f8e1a47
commit 666876d10f
3 changed files with 12 additions and 6 deletions

View File

@@ -76,7 +76,11 @@ class SsoStartView(APIView):
required=False,
)
],
responses={307: "Переход к провайдеру SSO", 400: "Некорректный путь", 503: "SSO отключён"},
responses={
307: "Переход к провайдеру SSO",
400: "Некорректный путь",
503: "SSO отключён",
},
)
def get(self, request):
if not settings.SSO_ENABLED: