sdk-typescript icon indicating copy to clipboard operation
sdk-typescript copied to clipboard

Auth schema validation

Open tiberiu89 opened this issue 1 year ago • 0 comments

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

tiberiu89 avatar Jun 27 '24 08:06 tiberiu89