> For the complete documentation index, see [llms.txt](https://gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.com/docs/documentation/ja-gitbook-documentation/publish/site-audience/authenticated-access/enabling-authenticated-access.md). Agents can also search and read this documentation through its [MCP server](https://gitbook.com/docs/~gitbook/mcp).

# 認証済みアクセスの有効化

ドキュメントをサインイン画面の背後で保護するには、まずサイトで認証済みアクセスを有効にする必要があります。

### 認証済みアクセスを有効にする

次の場所に移動します。 [サイトの設定](https://gitbook.com/docs/documentation/ja-gitbook-documentation/manage-your-site/site-settings.md)で、 **認証済みアクセス** をサイトのオーディエンス設定から選択します。選択すると、サイトの設定を続けるために必要なオプションがいくつか表示されます。また、後で認証済みアクセスの設定に使用する、生成済みの「**秘密鍵**」も表示されます。

### 認証方法を選択する

お使いの環境に応じて、さまざまなツールで認証済みアクセスを設定するための連携機能とガイドをご用意しています。

該当するガイドに進み、サイトの認証済みアクセスの設定を続けてください。

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-cover data-type="image">カバー画像</th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover-dark data-type="image">カバー画像（ダーク）</th></tr></thead><tbody><tr><td>Auth0 の設定</td><td><a href="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-1c14347f4503148191776242e0da52260edc7d11%2F25_12_10_auth0_1.png?alt=media">25_12_10_auth0_1.png</a></td><td><a href="https://gitbook.com/docs/documentation/ja-gitbook-documentation/publish/site-audience/authenticated-access/setting-up-auth0.md">Auth0 の設定</a></td><td><a href="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-446de09ea1ba89d6f2ef9d0605ffe6b979ecc71a%2F25_12_10_auth0.png?alt=media">25_12_10_auth0.png</a></td></tr><tr><td>Azure AD の設定</td><td><a href="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-21450b5ac7fdc78bb1fc5658c9d60965db66a909%2F25_12_10_azure_1.png?alt=media">25_12_10_azure_1.png</a></td><td><a href="https://gitbook.com/docs/documentation/ja-gitbook-documentation/publish/site-audience/authenticated-access/setting-up-azure-ad.md">Azure AD の設定</a></td><td><a href="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-feb7ad64287c82e0000fcdf4acdc28b3cedaeddf%2F25_12_10_azure.png?alt=media">25_12_10_azure.png</a></td></tr><tr><td>Okta の設定</td><td><a href="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-3bdc1d1ef12117460aa73b2073ca5ff9d4df0532%2F25_12_10_okta_1.png?alt=media">25_12_10_okta_1.png</a></td><td><a href="https://gitbook.com/docs/documentation/ja-gitbook-documentation/publish/site-audience/authenticated-access/setting-up-okta.md">Okta の設定</a></td><td><a href="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-46ab6aeb21d828fec76ec93d5705e165d341fd88%2F25_12_10_okta.png?alt=media">25_12_10_okta.png</a></td></tr><tr><td>AWS Cognito の設定</td><td><a href="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-6983773e4004a1a537d346b93ca651f58de51950%2F25_12_10_aws_cognito_1.png?alt=media">25_12_10_aws_cognito_1.png</a></td><td><a href="https://gitbook.com/docs/documentation/ja-gitbook-documentation/publish/site-audience/authenticated-access/setting-up-aws-cognito.md">AWS Cognito の設定</a></td><td><a href="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-534e13b81140652c2ecdfbd457b57abb2296c87a%2F25_12_10_aws_cognito.png?alt=media">25_12_10_aws_cognito.png</a></td></tr><tr><td>OIDC の設定</td><td><a href="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-fee30282a44d475ffdd18a364338c74b8aa673bc%2F25_12_10_oidc_1.png?alt=media">25_12_10_oidc_1.png</a></td><td><a href="https://gitbook.com/docs/documentation/ja-gitbook-documentation/publish/site-audience/authenticated-access/setting-up-oidc.md">OIDC の設定</a></td><td><a href="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-4037bb853bb58f69b6823741dd931981c5e46a98%2F25_12_10_oidc.png?alt=media">25_12_10_oidc.png</a></td></tr><tr><td>カスタムバックエンドの設定</td><td><a href="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-16df4936c6a1eb9aa89e6a0bc537b570d5e34649%2F25_12_10_custom_1.png?alt=media">25_12_10_custom_1.png</a></td><td><a href="https://gitbook.com/docs/documentation/ja-gitbook-documentation/publish/site-audience/authenticated-access/setting-up-a-custom-backend.md">独自のログインページをホスティングする</a></td><td><a href="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-2c03da7b1125ae273cb7d10943bd30380536b9db%2F25_12_10_custom.png?alt=media">25_12_10_custom.png</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://gitbook.com/docs/documentation/ja-gitbook-documentation/publish/site-audience/authenticated-access/enabling-authenticated-access.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
