> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Hosted Graphite を SAML サービスプロバイダーとして設定する

> Hosted Graphite 用に SAML2 Web App アドオンを使用して Auth0 をアイデンティティプロバイダーとして設定する方法を説明します。

Hosted Graphite には、以下の SAML (Security Assertion Markup Language（SAML）: パスワードなしで 2 者間で認証情報を交換できる標準化されたプロトコル。) 設定を使用します。

1. [Auth0 Dashboard > アプリケーション > アプリケーション](https://manage.auth0.com/#/applications) に移動し、新しいアプリケーションを作成するか、更新するアプリケーション名をクリックします。

2. **Addons** タブに移動し、**SAML2 Web App** トグルを有効にします。

3. **設定** タブで、**Application Callback URL** を次のように設定します: `https://www.hostedgraphite.com/complete/saml/{yourUserId}/`。

   ![Auth0 Dashboard アプリケーション アプリケーション Addons タブ SAML2 Web App 設定 タブ](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/cdy7uua7fh8z/6dJgYkcOgMZ73HVTkAWt1x/fe9dbbf306e6c587cb3326c00a3b4e1f/2025-02-27_13-59-00.png)

4. 次のコードを **Settings** のテキストボックスに貼り付け、**Debug** をクリックします。

   ```json lines theme={null}
   {
         "audience": "https://www.hostedgraphite.com/metadata/{yourUserId}/",
         "nameIdentifierFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress",
         "nameIdentifierProbes": [
       "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"
         ]
       }
   ```

5. ページの一番下までスクロールし、**Enable** をクリックします。

6. **Usage** タブで **Identity Provider Metadata** を見つけて、**Download** をクリックし、メタデータファイルをダウンロードします。これは、Auth0 をアイデンティティプロバイダーとして設定するときに必要になります。

   ![Auth0 Dashboard アプリケーション アプリケーション Addons タブ SAML2 Web App Usage タブ](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/cdy7uua7fh8z/3T90BDpyTXFUWDp1JkncBU/86bdba6bed8130b34b42b25c9bf2d232/dashboard-applications-applications-addons-saml2-web-app-usage.png)
