Skip to content

Commit cc14cd2

Browse files
committed
Draft OAuth setup
1 parent fedb210 commit cc14cd2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

asab/api/doc_templates.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,15 @@
103103
SwaggerUIBundle.SwaggerUIStandalonePreset
104104
]
105105
}})
106+
ui.initOAuth({{
107+
clientId: "my-asab-app-swagger",
108+
clientSecret: "",
109+
realm: "asab-auth",
110+
appName: "My ASAB app",
111+
scopeSeparator: " ",
112+
scopes: "openid profile",
113+
usePkceWithAuthorizationCodeGrant: false
114+
}})
106115
}}
107116
</script>
108117
</body>

0 commit comments

Comments
 (0)