Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Obtain Juniper Mist Metadata for SAML 2.0 Integration

SUMMARY When you set up a SAML 2.0 integration for Juniper Mist™, your Identity Provider (IdP) might require metadata. You can get the metadata from Juniper Mist by issuing an API call. But first you need to find your organization ID, API endpoint, and SSO ID.

Find Your Organization ID

From the left menu of the Juniper Mist™ portal, select Organization > Settings. The Organization ID appears near the top of the page. You can use the copy button to quickly copy this long string.

location of the Organization ID on the Organization Settings page
Note:

Juniper Mist generates this ID, which you cannot change.

Determine Your API Endpoint

You can determine the correct API endpoint for your organization by looking in the address bar of the Juniper Mist portal.

  1. Log in to the Juniper Mist portal.
  2. In the address bar, notice the first part of the URL, starting with the word manage and ending with com.

    Example: https://manage.ac2.mist.com/admin/?org_id=xxxxxxx-xxxx-xxx

    Your API endpoint is similar but starts with api instead of manage.

    In the above example, the resulting API endpoint is api.ac2.mist.com.

    Tip:

    The portal URL also contains your organization ID. In the URL, the organization ID section starts with these characters: org_id=

Find Your SSO ID

You can find your SSO ID by issuing an API call. You'll use the information you've obtained so far: your API endpoint URL and organization ID.

To find your SSO ID:

  1. Issue this API call: api_endpoint/api/v1/orgs/:org_id/ssos
  2. Look in the ID field to find your SSO ID.

Issue an API Call to Get the Metadata

Now that you've completed the above procedures, you have the information that you need to get the metadata. You'll use all of the information that you've obtained: your API endpoint, organization ID, and SSO ID.

To issue an API call to find your SSO ID:

Issue this API call: /api/v1/orgs/:org_id/ssos/:sso_id/metadata