-
Notifications
You must be signed in to change notification settings - Fork 248
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
Open
sander1095
wants to merge
34
commits into
Azure:main
Choose a base branch
from
sander1095:add-auth-to-jsonschema
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
726a24b
First version of auth enum with conditional JWT
sander1095 076f5be
Add JWT validation. Sidenote: JWT properties are both required now, n…
sander1095 2ba4e93
Added validation for jwt being null when a non-jwt auth provider is u…
sander1095 2816e1a
remove duplicate, false rule
sander1095 7681aa7
Improve dab draft schema for not ommitting JWT
sander1095 2c8841f
Add unit tests
sander1095 46331b6
Added extra docs to the providers that need JWT, thanks to PR feedback
sander1095 8a24a84
Merge branch 'main' into add-auth-to-jsonschema
Aniruddh25 274103c
Merge branch 'main' into add-auth-to-jsonschema
RubenCerna2079 7d27a8d
Merge branch 'main' into add-auth-to-jsonschema
Aniruddh25 96cfc96
Merge branch 'main' into add-auth-to-jsonschema
RubenCerna2079 d983b89
Merge branch 'main' into add-auth-to-jsonschema
Aniruddh25 2d9f88e
Merge branch 'main' into add-auth-to-jsonschema
sander1095 22834dd
Rename method based on PR feedback
sander1095 2e46ae7
Workaround for failing test because NJsonSchema doesnt support oneof …
sander1095 2437f5e
Change schema url to http variant to be spec compliant
sander1095 d559f3f
Migrate from NJsonSchema to JsonSchema.Net
sander1095 c6a3e27
Reuse JSON deserilization options globally to prevent inconsistent de…
sander1095 22547af
Fix whitespace
sander1095 7252b73
Merge branch 'main' into add-auth-to-jsonschema
RubenCerna2079 73d9c5a
Update summary and fix typo
sander1095 0d24e0c
Add an extra test case
sander1095 5fc69f8
Migrate from JsonSchema.NET to Newtonsoft.Json.Schema
sander1095 6f8cce1
Remove limitation around NJsonSchema as this package isn't used anymore
sander1095 e0c0eeb
Fix whitespace
sander1095 9a0606b
Really fix whitespace
sander1095 eeb6052
Use 13.0.3-beta1 because Microsoft's private feeds do not have 13.0.3
sander1095 4c065b2
Merge branch 'main' into add-auth-to-jsonschema
Aniruddh25 00b2032
Fix tests
sander1095 55b525f
Downgrade NJS instead of using the NJ beta package as this is preferr…
sander1095 4120c6c
Fix integration tests
sander1095 6b0b7c4
Merge branch 'main' into add-auth-to-jsonschema
sander1095 327f051
Remove unnecessary NoWarn now that we keep NJ package the same version
sander1095 6d735c4
Merge remote-tracking branch 'origin/add-auth-to-jsonschema' into add…
sander1095 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.