Skip to content

Commit 388e675

Browse files
committed
Merge pull request #160 from jkakavas/add-saml-symptom
Add section for misconfigured sp entity id
1 parent 7fc70b8 commit 388e675

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
@@ -496,6 +496,34 @@ its correct public URL.
496496
Authentication in {kib} fails and the following error is printed in the
497497
{es} logs:
498498

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

0 commit comments

Comments
 (0)