Skip to content

Commit 855d754

Browse files
committed
Merge pull request #160 from jkakavas/add-saml-symptom
Add section for misconfigured sp entity id
1 parent e1dfad3 commit 855d754

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

427+
....
428+
Authentication to realm saml1 failed - Provided SAML response is not valid for realm
429+
saml/saml1 (Caused by ElasticsearchSecurityException[Conditions [https://some-url-here...]
430+
do not match required audience [https://my.kibana.url]])
431+
....
432+
433+
*Resolution:*
434+
435+
We received a SAML response that is addressed to another SAML Service Provider.
436+
This usually means that the configured SAML Service Provider Entity ID in
437+
`elasticsearch.yml` (`sp.entity_id`) does not match what has been configured as
438+
the SAML Service Provider Entity ID in the SAML Identity Provider documentation.
439+
440+
To resolve this issue, ensure that both the saml realm in {es} and the IdP are
441+
configured with the same string for the SAML Entity ID of the Service Provider.
442+
443+
TIP: These strings are compared as case-sensitive strings and not as
444+
canonicalized URLs even when the values are URL-like. Be mindful of trailing
445+
slashes, port numbers, etc.
446+
447+
--
448+
449+
. *Symptoms:*
450+
+
451+
--
452+
Authentication in {kib} fails and the following error is printed in the
453+
{es} logs:
454+
427455
....
428456
Cannot find metadata for entity [your:entity.id] in [metadata.xml]
429457
....

0 commit comments

Comments
 (0)