diff --git a/openapi/components/securitySchemes/bearer_auth.yaml b/openapi/components/securitySchemes/bearer_auth.yaml new file mode 100644 index 0000000..d345a5c --- /dev/null +++ b/openapi/components/securitySchemes/bearer_auth.yaml @@ -0,0 +1,7 @@ +# https://swagger.io/docs/specification/authentication/bearer-authentication/ +description: | + ![edition](https://img.shields.io/badge/edition-entreprise-blue) + + When Bonita runtime is configured for SSO with openID Connect it is possible To call the REST API directly with a Bearer Authorization header containing the access token. +type: http +scheme: bearer \ No newline at end of file diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index 20150b2..7640ed7 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -19,6 +19,7 @@ servers: security: - bonita_auth: [ ] bonita_token: [ ] + - bearer_auth: [ ] x-tagGroups: - name: Authentication tags: @@ -714,3 +715,5 @@ components: $ref: 'components/securitySchemes/bonita_auth.yaml' bonita_token: $ref: 'components/securitySchemes/bonita_token.yaml' + bearer_auth: + $ref: 'components/securitySchemes/bearer_auth.yaml'