Skip to content

Commit d843abf

Browse files
authored
Merge pull request #160 from jkakavas/add-saml-symptom
Add section for misconfigured sp entity id
2 parents b8982a8 + 627084a commit d843abf

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

docs/en/stack/security/troubleshooting.asciidoc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,34 @@ its correct public URL.
497497
Authentication in {kib} fails and the following error is printed in the
498498
{es} logs:
499499

500+
....
501+
Authentication to realm saml1 failed - Provided SAML response is not valid for realm
502+
saml/saml1 (Caused by ElasticsearchSecurityException[Conditions [https://some-url-here...]
503+
do not match required audience [https://my.kibana.url]])
504+
....
505+
506+
*Resolution:*
507+
508+
We received a SAML response that is addressed to another SAML Service Provider.
509+
This usually means that the configured SAML Service Provider Entity ID in
510+
`elasticsearch.yml` (`sp.entity_id`) does not match what has been configured as
511+
the SAML Service Provider Entity ID in the SAML Identity Provider documentation.
512+
513+
To resolve this issue, ensure that both the saml realm in {es} and the IdP are
514+
configured with the same string for the SAML Entity ID of the Service Provider.
515+
516+
TIP: These strings are compared as case-sensitive strings and not as
517+
canonicalized URLs even when the values are URL-like. Be mindful of trailing
518+
slashes, port numbers, etc.
519+
520+
--
521+
522+
. *Symptoms:*
523+
+
524+
--
525+
Authentication in {kib} fails and the following error is printed in the
526+
{es} logs:
527+
500528
....
501529
Cannot find metadata for entity [your:entity.id] in [metadata.xml]
502530
....

0 commit comments

Comments
 (0)