Skip to content

Comments

[6.8] Support deep links inside of RelayState for SAML IdP initiated login.#69663

Merged
azasypkin merged 2 commits intoelastic:6.8from
azasypkin:6.8-relay-state-saml
Jun 26, 2020
Merged

[6.8] Support deep links inside of RelayState for SAML IdP initiated login.#69663
azasypkin merged 2 commits intoelastic:6.8from
azasypkin:6.8-relay-state-saml

Conversation

@azasypkin
Copy link
Contributor

Backport of: #69401

@azasypkin azasypkin added backport This PR is a backport of another PR v6.8.11 labels Jun 23, 2020
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: we didn't have this check in 6.8 before, but it seems it's better to have it.

@azasypkin azasypkin force-pushed the 6.8-relay-state-saml branch from 1815c2f to 93fe32d Compare June 24, 2020 06:58
hostname: Joi.string().hostname(),
port: Joi.number().integer().min(0).max(65535)
}).default(),
authc: Joi.object({})
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: even though we drop it in 7.0 I wanted it to look similar to what we have in 7.2+.

server,
providerType
) {
// We can't use `config.has` here as it doesn't currently work with Joi's "alternatives" syntax
Copy link
Contributor Author

@azasypkin azasypkin Jun 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: borrowed from Ioannis's PR where he introduced OIDC.

@azasypkin azasypkin requested a review from legrego June 24, 2020 08:01
@azasypkin
Copy link
Contributor Author

Hey @legrego,

This backport is essentially a different PR, would be great if you can take a brief look. Thanks!

@legrego
Copy link
Member

legrego commented Jun 25, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@azasypkin azasypkin merged commit 6a529d0 into elastic:6.8 Jun 26, 2020
@azasypkin azasypkin deleted the 6.8-relay-state-saml branch June 26, 2020 08:38
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 v6.8.11

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants