Adds authenticaton_type as expected property on ES authentication response#75808
Merged
legrego merged 17 commits intoelastic:masterfrom Aug 27, 2020
Merged
Adds authenticaton_type as expected property on ES authentication response#75808legrego merged 17 commits intoelastic:masterfrom
authenticaton_type as expected property on ES authentication response#75808legrego merged 17 commits intoelastic:masterfrom
Conversation
Contributor
|
Pinging @elastic/kibana-security (Team:Security) |
jportner
approved these changes
Aug 25, 2020
Contributor
jportner
left a comment
There was a problem hiding this comment.
LGTM, though I think we have a few opportunities to improve our tests -- see comments below!
x-pack/test/oidc_api_integration/apis/authorization_code_flow/oidc_auth.ts
Show resolved
Hide resolved
x-pack/test/oidc_api_integration/apis/authorization_code_flow/oidc_auth.ts
Show resolved
Hide resolved
…authentication-type
…authentication-type
Member
Author
|
@elasticmachine merge upstream |
Member
Author
|
@elasticmachine merge upstream |
Contributor
💚 Build SucceededBuild metrics
History
To update your PR or re-run it, just comment with: |
jportner
approved these changes
Aug 27, 2020
Contributor
jportner
left a comment
There was a problem hiding this comment.
Reviewed again -- looks even better now! 😁
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
elastic/elasticsearch#61247 introduced a new
authentication_typefield on the/_security/_authenticateAPI response. This PR updates our functional tests to expect this new field, and assert on the contents.This also adds the field to our
AuthenticatedUsermodel, to maintain consistency with the ES model. It is currently unused by Kibana.Resolves #75707