Skip to content

Commit

Permalink
Draft OAuth setup
Browse files Browse the repository at this point in the history
  • Loading branch information
byewokko committed Mar 23, 2023
1 parent fedb210 commit cc14cd2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions asab/api/doc_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
}})
}}
</script>
</body>
Expand Down

0 comments on commit cc14cd2

Please sign in to comment.