Skip to content

[Feedback]: https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-saml-prepare-authentication Doesn't show correct response #2805

@philippkahr

Description

@philippkahr

The response is not:

{
  "acknowledged": true
}

the true response is:

{
  "metadata": """<?xml version="1.0" encoding="UTF-8"?><md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" entityID="https://....kb.us-central1.gcp.cloud.es.io"><md:SPSSODescriptor AuthnRequestsSigned="false" WantAssertionsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol"><md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://....kb.us-central1.gcp.cloud.es.io/logout"/><md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://....kb.us-central1.gcp.cloud.es.io/api/security/saml/callback" index="1" isDefault="true"/></md:SPSSODescriptor></md:EntityDescriptor>"""
}
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions