The fetchSamlMetadataFromDiscoveryEndpoint() GraphQL query field can fetch the SAML metadata from the discovery endpoint provided.

For more information on SAML, see the Configuration & Authentication with SAML documentation page. You may also want to look at Authentication & Identity Providers for related information.

Syntax

Below is the syntax for the fetchSamlMetadataFromDiscoveryEndpoint() query field:

fetchSamlMetadataFromDiscoveryEndpoint(discoveryEndpoint: string!): SamlMetadata!

Returned Datatypes

The returned datatype SamlMetadata has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: SamlMetadata

ParameterTypeRequired[a]DefaultDescription
entityIDstringyes The unique identifier of the entity.
signOnUrlstringyes The URL where the sign on page can be found.
certificatestringyes The SAML authenication certificate.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.