OAuth2 Authentication policy conflicting oneOf
#1007
Labels
area: spec
Changes in the Specification
change: fix
Something isn't working. Impacts in a minor version change.
Milestone
Uh oh!
There was an error while loading. Please reload this page.
What seems off:
When using a secret based OAuth2 authentication policy, it conflicts with the OAuth2 authentication properties (
oauth2AuthenticationProperties
) because the later is not restrictive enough.For instance:
Will raise validation errors, because it matches both
https://serverlessworkflow.io/schemas/1.0.0-alpha1/workflow.yaml#/$defs/authenticationPolicy/oneOf/4/oidc
's oneOfs:What you expected to be:
For each oneOf to be clearly distinct.
The text was updated successfully, but these errors were encountered: