diff --git a/asab/api/doc_templates.py b/asab/api/doc_templates.py index d5e823a5d..b4ce28efb 100644 --- a/asab/api/doc_templates.py +++ b/asab/api/doc_templates.py @@ -103,6 +103,15 @@ SwaggerUIBundle.SwaggerUIStandalonePreset ] }}) + ui.initOAuth({{ + clientId: "my-asab-app-swagger", + clientSecret: "", + realm: "asab-auth", + appName: "My ASAB app", + scopeSeparator: " ", + scopes: "openid profile", + usePkceWithAuthorizationCodeGrant: false + }}) }}