Skip to content

Commit

Permalink
auth: add bearer auth security scheme (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
uniqueg authored Nov 5, 2023
1 parent 21a555e commit 56da7d8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pro_tes/api/security_schemes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
3 changes: 3 additions & 0 deletions pro_tes/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,11 @@ api:
- path:
- api/9e9c5aa.task_execution_service.openapi.yaml
- api/additional_logs.yaml
- api/security_schemes.yaml
add_operation_fields:
x-openapi-router-controller: ga4gh.tes.server
security:
- bearerAuth: []
add_security_fields:
x-bearerInfoFunc: foca.security.auth.validate_token
disable_auth: True
Expand Down

0 comments on commit 56da7d8

Please sign in to comment.