style(auth): format SSO implementation
Some checks failed
State Corp Backend CI/CD / Quality gate (push) Successful in 5m14s
State Corp Backend CI/CD / Build linux/amd64 images once (push) Failing after 5m48s
State Corp Backend CI/CD / Release dev (push) Has been skipped
State Corp Backend CI/CD / Refresh and release internal main (push) Has been skipped
State Corp Backend CI/CD / Release customer main (push) Has been skipped

This commit is contained in:
Aleksandr Meshchryakov
2026-09-21 16:44:34 +02:00
parent 8f759e22e7
commit dde684c88d
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: