Join Slack
Powered by
<#5160 Add a securitySchemes to swagger.json> Issu...
# flyte-github
c
cuddly-jelly-27016
08/04/2025, 12:11 AM
#5160 Add a securitySchemes to swagger.json
Issue created by
pingsutw
### Motivation: Why do you think this is important? Users will be able to test admin APIs that use OAuth2 on
swagger UI
### Goal: What should the final outcome look like, ideally? Add a securitySchemes to
swagger.json
here is an example # Step 1 - define the security scheme components: securitySchemes: oAuthSample: # <---- arbitrary name type: oauth2 description: This API uses OAuth 2 with the implicit grant flow. [More info](
https://api.example.com/docs/auth
) flows: implicit: # <---- OAuth flow(authorizationCode, implicit, password or clientCredentials) authorizationUrl:
https://api.example.com/oauth2/authorize
scopes: read_pets: read your pets write_pets: modify pets in your account
https://swagger.io/docs/specification/authentication/oauth2
### Describe alternatives you've considered NA ### Propose: Link/Inline OR Additional context
https://swagger.io/docs/specification/authentication/oauth2/
### Are you sure this issue hasn't been raised already? • Yes ### Have you read the Code of Conduct? • Yes
flyteorg/flyte
cuddly-jelly-27016
08/04/2025, 12:11 AM
#5160 Add a securitySchemes to swagger.json
Issue closed as not planned by
github-actions[bot]
flyteorg/flyte
Open in Slack
Previous
Next