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

Auth schema validation #187

Open
tiberiu89 opened this issue Jun 27, 2024 · 0 comments
Open

Auth schema validation #187

tiberiu89 opened this issue Jun 27, 2024 · 0 comments

Comments

@tiberiu89
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant