File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed
Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ document :
2+ dsl : 1.0.0-alpha1
3+ namespace : examples
4+ name : oauth2-authentication
5+ version : 1.0.0-alpha1
6+ do :
7+ - getPet :
8+ call : http
9+ with :
10+ method : get
11+ endpoint :
12+ uri : https://petstore.swagger.io/v2/pet/{petId}
13+ authentication :
14+ oauth2 :
15+ authority : http://keycloak/realms/fake-authority
16+ endpoints : # optional
17+ token : /auth/token # defaults to /oauth2/token
18+ introspection : /auth/introspect # defaults to /oauth2/introspect
19+ grant : client_credentials
20+ client :
21+ id : workflow-runtime-id
22+ secret : workflow-runtime-secret
Original file line number Diff line number Diff line change 1+ document :
2+ dsl : 1.0.0-alpha1
3+ namespace : examples
4+ name : oidc-authentication
5+ version : 1.0.0-alpha1
6+ do :
7+ - getPet :
8+ call : http
9+ with :
10+ method : get
11+ endpoint :
12+ uri : https://petstore.swagger.io/v2/pet/{petId}
13+ authentication :
14+ oidc :
15+ authority : http://keycloak/realms/fake-authority # endpoints are resolved using the OIDC configuration located at '/.well-known/openid-configuration'
16+ grant : client_credentials
17+ client :
18+ id : workflow-runtime-id
19+ secret : workflow-runtime-secret
You can’t perform that action at this time.
0 commit comments