Skip to content

Auth schema validation #187

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

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

Auth schema validation #187

tiberiu89 opened this issue Jun 27, 2024 · 0 comments
Labels
legacy Related to the pre-v1.0.0 Serverless Workflow specification

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

@JBBianchi JBBianchi added the legacy Related to the pre-v1.0.0 Serverless Workflow specification label Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy Related to the pre-v1.0.0 Serverless Workflow specification
Projects
None yet
Development

No branches or pull requests

2 participants