fix(auth): keep SSO compatibility route out of OpenAPI
This commit is contained in:
@@ -183,3 +183,9 @@ class SsoCallbackView(APIView):
|
||||
response = HttpResponse(status=303)
|
||||
response["Location"] = redirect_path
|
||||
return response
|
||||
|
||||
|
||||
class SsoCallbackWithoutSlashView(SsoCallbackView):
|
||||
"""Accept legacy callback URLs without duplicating the public API schema."""
|
||||
|
||||
swagger_schema = None
|
||||
|
||||
Reference in New Issue
Block a user