Get the organization's SAML service provider metadata
GET
/api/auth/saml/{slug}/metadata
const url = 'https://forge.example.com/api/auth/saml/example/metadata';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://forge.example.com/api/auth/saml/example/metadataFor the organization’s identity provider: the entity id and the reply address.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”slug
required
string
Responses
Section titled “Responses”The metadata, as XML.
Media typeapplication/samlmetadata+xml
string
default
Section titled “default”A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.
Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}