-
Notifications
You must be signed in to change notification settings - Fork 5.3k
add customKeyIdentifier to password credential #4507
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2465,7 +2465,6 @@ | |
}, | ||
"customKeyIdentifier": { | ||
"type":"string", | ||
"format": "byte", | ||
"description": "Custom Key Identifier" | ||
} | ||
}, | ||
|
@@ -2494,6 +2493,11 @@ | |
"value": { | ||
"type": "string", | ||
"description": "Key value." | ||
}, | ||
"customKeyIdentifier": { | ||
"type": "string", | ||
"format": "byte", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
So it depends only if you have base64 string on the wire. If yes, the right value is "byte". If no, the right value is "string" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Checked on Fiddler, this one is definitley base64 (and then |
||
"description": "Custom Key Identifier" | ||
} | ||
}, | ||
"additionalProperties": { | ||
|
@@ -2735,16 +2739,30 @@ | |
"type": "string", | ||
"description": "The home page of the application." | ||
}, | ||
"oauth2AllowImplicitFlow" : { | ||
"oauth2AllowImplicitFlow": { | ||
"type": "boolean", | ||
"description": "Whether to allow implicit grant flow for OAuth2" | ||
}, | ||
"requiredResourceAccess" : { | ||
"requiredResourceAccess": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/RequiredResourceAccess" | ||
}, | ||
"description": "Specifies resources that this application requires access to and the set of OAuth permission scopes and application roles that it needs under each of those resources. This pre-configuration of required resource access drives the consent experience." | ||
}, | ||
"keyCredentials": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/KeyCredential" | ||
}, | ||
"description": "A collection of KeyCredential objects." | ||
}, | ||
"passwordCredentials": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/PasswordCredential" | ||
}, | ||
"description": "A collection of PasswordCredential objects" | ||
} | ||
}, | ||
"description": "Active Directory application information." | ||
|
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.
Cert based id should be a plain string with the thumbprint as the value
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.
So it depends only if you have base64 string on the wire. If yes, the right value is "byte". If no, the right value is "string"
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.
After check, this string is actually not byte on the wire and the fix is right.