Skip to content

SAML _security/saml/prepare API should allow consumer to specify RelayState #46232

@azasypkin

Description

@azasypkin

Currently Kibana heavily relies on URL fragments to navigate between the apps and store applied filters. And since URL fragments are never sent to the server Kibana didn't preserve them during SAML handshake. Moreover URL fragments used in Kibana can be pretty large so we can't store them in the session cookie like we do for SAML request ID. We're planning to change this in 7.5 (see elastic/kibana#44513) and store full URL in the RelayState query string parameter we send to IdP and receive back once user is authenticated.

As we discussed with @jkakavas in elastic/kibana#18392 (comment) it'd make sense for _security/saml/prepare API to accept the arbitrary string as an additional argument with that will eventually be used as RelayState query string parameter in the IdP redirect URL this API returns.

cc @kobelb

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions