-
Notifications
You must be signed in to change notification settings - Fork 236
Add authentication validation to the JSON schema #2646
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
base: main
Are you sure you want to change the base?
Conversation
…ot sure if this is intended but it makes sense to me.
…sed. The error message is a bit janky, though
/azp run |
Azure Pipelines successfully started running 6 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for adding this validation and improving developer experience.
@Aniruddh25 I've processed your comments. I took a look at the failures of the CI pipeline of the last commits. They seem to be unrelated to my changes: Let's hope that a re-run will make them go green! |
@RubenCerna2079 Could you perform a re-run on this PR :) |
Why make this change?
Closes #2643
The JSON schema does not contain a list of auth providers, nor does it validate the use of the
jwt
property. This results in a suboptimal developer experience. By adding this list and validation, developers have an easier time learning about all the options and can be more productive.What is this change?
This change modifies the JSON schema with a list of providers and validation of the providers and the
jwt
property.StackOverflow helped me with the finer details of the validation.
I also added tests to validate my changes.
How was this tested?
Sample Request(s)