Skip to content

Auth schema validation #187

Open
Open
@tiberiu89

Description

@tiberiu89

What happened:
Following the specs for 0.8, I can't seem to make auth definition to work

"auth": [
    {
      "name": "azure",
      "scheme": "oauth2",
      "properties": {
        "grantType": "clientCredentials",
        "clientId": "${ $SECRETS.AZURE_CLIENT_ID }",
        "clientSecret": "${ $SECRETS.AZURE_CLIENT_SECRET }"
      }
    }
  ],

the workflow validator throws a lot of errors around this. like fields must be string, missing properties that should be defined for other scheme types etc.

What you expected to happen:
Pass validation

Metadata

Metadata

Assignees

No one assigned

    Labels

    legacyRelated to the pre-v1.0.0 Serverless Workflow specification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions