Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added unevaluatedProperties false to oauth2AuthenticationProperties #1008

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions examples/authentication-oauth2-secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
document:
dsl: 1.0.0-alpha1
namespace: examples
name: oauth2-authentication
version: 1.0.0-alpha1
use:
secrets:
- mySecret
do:
- getPet:
call: http
with:
method: get
endpoint:
uri: https://petstore.swagger.io/v2/pet/{petId}
authentication:
oauth2:
use: mySecret
18 changes: 18 additions & 0 deletions examples/authentication-oidc-secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
document:
dsl: 1.0.0-alpha1
namespace: examples
name: oidc-authentication
version: 1.0.0-alpha1
use:
secrets:
- mySecret
do:
- getPet:
call: http
with:
method: get
endpoint:
uri: https://petstore.swagger.io/v2/pet/{petId}
authentication:
oidc:
use: mySecret
2 changes: 2 additions & 0 deletions schema/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,7 @@ $defs:
- type: object
title: OAuth2ConnectAuthenticationProperties
description: The inline configuration of the OAuth2 authentication policy.
unevaluatedProperties: false
allOf:
- $ref: '#/$defs/oauth2AuthenticationProperties'
- type: object
Expand Down Expand Up @@ -967,6 +968,7 @@ $defs:
- $ref: '#/$defs/oauth2AuthenticationProperties'
title: OpenIdConnectAuthenticationProperties
description: The inline configuration of the OpenIdConnect authentication policy.
unevaluatedProperties: false
- $ref: '#/$defs/secretBasedAuthenticationPolicy'
title: OpenIdConnectAuthenticationPolicySecret
description: Secret based configuration of the OpenIdConnect authentication policy.
Expand Down
Loading