Skip to content

[7.x] Use refresh token for any access token error with 401 status code and re-authentication user for any refresh token error with 400 status code. (#33777)#33948

Merged
azasypkin merged 1 commit intoelastic:7.xfrom
azasypkin:backport/7.x/pr-33777
Mar 27, 2019

Conversation

@azasypkin
Copy link
Contributor

Backports the following commits to 7.x:

… re-authentication user for any refresh token error with 400 status code. (elastic#33777)

* Use refresh token for any access token error with 401 status code and re-initiate SAML handshake for any refresh token error with 400 status code.

* Switch from `expect.js` to `@kbn/expect`.

* Review#1: repurpose redundant tests to test token failures with 500 code.
@azasypkin azasypkin added the backport This PR is a backport of another PR label Mar 27, 2019
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@azasypkin azasypkin merged commit 6011692 into elastic:7.x Mar 27, 2019
@azasypkin azasypkin deleted the backport/7.x/pr-33777 branch March 27, 2019 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants