Skip to main content
foramthakkar
New Member
January 13, 2026
Question

FortiClient EMS API returning error for /metadata endpoint

  • January 13, 2026
  • 2 replies
  • 215 views

I am attempting to call the /metadata endpoint in FortiClient EMS, but I am receiving a 404 Not Found error. According to the API documentation, this endpoint requires SAML to be configured.

Is there any way to retrieve EMS metadata using the /metadata endpoint without enabling SAML configuration?

 

Screenshot 2026-01-13 at 12.34.02 PM.png

2 replies

funkylicious
SuperUser
SuperUser
January 13, 2026

As per the description for /metadata , SAML configuration is required.

"jack of all trades, master of none"
vpolovnikov
Staff & Editor
Staff & Editor
January 14, 2026

Hello, funkylicious!

You are correct. The metadata the API endpoint returns (/fct_saml/{prefix}/metadata) is about EMS as a SAML Service Provider (SP). 

Here's an example:

<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" validUntil="2026-01-16T23:51:17Z" cacheDuration="PT604800S" entityID="https://X.X.X.X/fct_saml/c9rb5d8oe/metadata/">
<md:SPSSODescriptor AuthnRequestsSigned="false" WantAssertionsSigned="false" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
<md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</md:NameIDFormat>
<md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://X.X.X.X/fct_saml/c9rb5d8oe/acs" index="1"/>
</md:SPSSODescriptor>
</md:EntityDescriptor>