@@ -444,52 +444,50 @@ Assertion Consumer Service URL of the SAML Service Provider is.
444444.. {kib} constructs this value using the `server.host` and `server.port` in
445445`kibana.yml`. For instance:
446446+
447- --
448447[source, shell]
449448-----------------------------------------------
450449server.host: kibanaserver.org
451450server.port: 3456
452451-----------------------------------------------
453-
452+ +
454453These settings would mean that {kib} would construct the Assertion Consumer
455454Service URL as `https://kibanaserver.org:3456/api/secuirity/v1/saml`. However,
456455if for example, {kib} is behind a reverse proxy and you have configured the
457456following `xpack.security.public.*` settings:
458-
457+ +
459458[source, shell]
460459-----------------------------------------------
461460xpack.security.public:
462461 protocol: https
463462 hostname: kibana.proxy.com
464463 port: 8080
465464-----------------------------------------------
466-
465+ +
467466These settings would instruct {kib} to construct the Assertion Consumer Service
468467URL as `https://kibana.proxy.com:8080/api/secuirity/v1/saml`
469- --
470468
471469.. The SAML Identity Provider is either explicitly configured by the IdP
472470administrator or consumes the SAML metadata that are generated by {es} and as
473471such contain the same value for the Assertion Consumer Service URL as the one
474472that is configured in the the `sp.acs` setting in the {es} SAML realm
475473configuration.
476-
474+ --
475+ +
477476The error encountered here indicates that the Assertion Consumer Service URL
478477that {kib} has constructed via one of the aforementioned ways
479478(`https://my.kibana.url/api/security/v1/saml`) is not the one that {es} is
480479configured with. Note that these two URLs are compared as case-sensitive strings
481480and not as canonicalized URLs.
482-
481+ +
483482Often, this can be resolved by changing the `sp.acs` URL in `elasticearch.yml`
484483to match the value that {kib} has constructed. Note however, that the SAML IdP
485484configuration needs to also be adjusted to reflect this change.
486-
485+ +
487486Alternatively, if you think {kib} is using the wrong value for the Assertion
488487Consumer Service URL, you will need to change the configuration in `kibana.yml`
489488by adjusting either the `server.host` and `server.port` to change the URL {kib}
490489listens to or the `xpack.security.public.*` settings to make {kib} aware about
491490its correct public URL.
492- --
493491
494492. *Symptoms:*
495493+
0 commit comments