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

> このクイックスタートでは、JavaサーブレットアプリケーションにAuth0の認証を追加する方法を説明します。Auth0 Java MVC Commons SDKを使用して、ログイン、ログアウト、ユーザープロフィール機能を備えた安全なWebアプリケーションを構築します。

# Javaサーブレットアプリケーションにログインを追加する

export const HowToSchema = () => <script type="application/ld+json">
    {'{"@context":"https://schema.org","@type":"HowTo"}'}
  </script>;

export const AuthCodeGroup = ({children, dropdown}) => {
  const [processedChildren, setProcessedChildren] = useState(children);
  useEffect(() => {
    let unsubscribe = null;
    function init() {
      unsubscribe = window.autorun(() => {
        const processChildren = node => {
          if (typeof node === "string") {
            let processedNode = node;
            for (const [key, value] of window.rootStore.variableStore.values.entries()) {
              const escapedKey = key.replaceAll(/[.*+?^${}()|[\]\\]/g, (String.raw)`\$&`);
              processedNode = processedNode.replaceAll(new RegExp(escapedKey, "g"), value);
            }
            return processedNode;
          } else if (Array.isArray(node)) {
            return node.map(processChildren);
          } else if (node && node.props && node.props.children) {
            return {
              ...node,
              props: {
                ...node.props,
                children: processChildren(node.props.children)
              }
            };
          }
          return node;
        };
        setProcessedChildren(processChildren(children));
      });
    }
    if (window.rootStore) {
      init();
    } else {
      window.addEventListener("adu:storeReady", init);
    }
    return () => {
      window.removeEventListener("adu:storeReady", init);
      unsubscribe?.();
    };
  }, [children]);
  return <CodeGroup dropdown={dropdown}>{processedChildren}</CodeGroup>;
};

<HowToSchema />

<Note>
  **前提条件:** 始める前に、次のものがインストールされていることを確認してください。

  * **Java Development Kit (JDK)**: バージョン 8 以降
  * **ビルドツール**: [Maven](https://maven.apache.org/download.cgi) 3.6+ または [Gradle](https://gradle.org/install/) 6.0+
  * **アプリケーションサーバー**: [Apache Tomcat](https://tomcat.apache.org/download-90.cgi) 9.0+ または任意のサーブレットコンテナ
  * **Auth0 アカウント**: お持ちでない場合は、[無料でサインアップ](https://auth0.com/signup) してください
</Note>

<Accordion title="AI を使って Auth0 を統合する" icon="microchip-ai" iconType="solid" defaultOpen>
  Claude Code、Cursor、GitHub Copilot などの AI コーディングアシスタントを使用している場合は、[agent skills](https://agentskills.io/home) を使って数分で Auth0 の認証を自動的に追加できます。

  **インストール:**

  ```bash theme={null}
  npx skills add auth0/agent-skills --skill auth0-quickstart --skill auth0-java-mvc-common
  ```

  **次に、AI アシスタントに次のように依頼します。**

  ```text theme={null}
  Add Auth0 authentication to my Java servlet app
  ```

  AI アシスタントは、Auth0 アプリケーションの作成、認証情報の取得、Auth0 Java MVC Commons SDK 依存関係の追加、web.xml の設定、サーブレットフィルターを使ったログイン/ログアウト フローの実装を自動的に行います。[agent skills の完全なドキュメント →](/ja/docs/quickstart/agent-skills)
</Accordion>

<div id="get-started">
  ## はじめに
</div>

このクイックスタートでは、Javaサーブレットアプリケーションに Auth0 の認証を追加する方法を紹介します。Auth0 Java MVC Commons SDK を使用して、ログイン、ログアウト、ユーザープロフィール機能を備えたセキュアな Web アプリケーションを構築します。

<Steps>
  <Step title="新しい Java Web プロジェクトを作成する" stepNumber={1}>
    このquickstart用に、新しい Java Web アプリケーションプロジェクトを作成します。

    <Tabs>
      <Tab title="Maven">
        ```bash theme={null}
        mvn archetype:generate \
          -DgroupId=com.auth0.example \
          -DartifactId=auth0-servlet-app \
          -DarchetypeArtifactId=maven-archetype-webapp \
          -DinteractiveMode=false
        ```

        プロジェクトディレクトリに移動します。

        ```bash theme={null}
        cd auth0-servlet-app
        ```
      </Tab>

      <Tab title="Gradle">
        新しいディレクトリを作成し、Gradle プロジェクトを初期化します。

        ```bash theme={null}
        mkdir auth0-servlet-app && cd auth0-servlet-app
        gradle init --type java-application
        ```
      </Tab>
    </Tabs>
  </Step>

  <Step title="Auth0 Java MVC Commons SDK をインストールする" stepNumber={2}>
    プロジェクトのビルドファイルにAuth0の依存関係を追加します。

    <Tabs>
      <Tab title="Maven">
        次の依存関係を `pom.xml` に追加します。

        ```xml theme={null}
        <dependencies>
            <dependency>
                <groupId>com.auth0</groupId>
                <artifactId>mvc-auth-commons</artifactId>
                <version>1.11.1</version>
            </dependency>
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>javax.servlet-api</artifactId>
                <version>3.1.0</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>jstl</artifactId>
                <version>1.2</version>
            </dependency>
        </dependencies>
        ```
      </Tab>

      <Tab title="Gradle">
        次の依存関係を `build.gradle` に追加します。

        ```gradle theme={null}
        plugins {
            id 'java'
            id 'war'
        }

        dependencies {
            implementation 'com.auth0:mvc-auth-commons:1.11.1'
            implementation 'javax.servlet:javax.servlet-api:3.1.0'
            implementation 'javax.servlet:jstl:1.2'
        }
        ```
      </Tab>
    </Tabs>
  </Step>

  <Step title="Auth0 アプリケーションを設定する" stepNumber={3}>
    次に、Auth0テナントで新しいアプリケーションを作成し、その設定をプロジェクトに追加します。

    1. [Auth0 Dashboard](https://manage.auth0.com/dashboard) に移動します
    2. **Applications** > **Applications** > **Create Application** をクリックします
    3. ポップアップでアプリの名前を入力し、アプリケーションの種類として **Regular Web Application** を選択して、**Create** をクリックします
    4. Application Details ページで **Settings** タブに切り替えます
    5. Dashboard で **ドメイン**、**クライアントID**、**クライアントシークレット** の値を控えます
    6. 最後に、Application Details ページの **Settings** タブで、次の URL を設定します：

    **Allowed Callback URLs:**

    ```
    http://localhost:8080/callback
    ```

    **Allowed Logout URLs:**

    ```
    http://localhost:8080/login
    ```

    **許可する Web オリジン:**

    ```
    http://localhost:8080
    ```

    <Note>
      * **Allowed Callback URLs** は、認証後にユーザーを安全にアプリケーションへ戻すための重要なセキュリティ対策です。一致する URL がない場合、ログイン処理は失敗し、ユーザーはアプリにアクセスできず、代わりに Auth0 のエラーページが表示されます。
      * **Allowed Logout URLs** は、サインアウト時にシームレスなユーザー体験を提供するうえで不可欠です。一致する URL がない場合、ログアウト後にユーザーはアプリケーションへリダイレクトされず、代わりに Auth0 の汎用ページに留まることになります。
      * **Allowed Web Origins** は、サイレント認証に不可欠です。これが設定されていないと、ユーザーはページを更新したときや、後でアプリに戻ったときにログアウトされます。
    </Note>
  </Step>

  <Step title="Auth0 SDK を構成する" stepNumber={4}>
    上で生成した Auth0 の認証情報を使うように `web.xml` を設定し、servlet アプリケーションで Auth0 SDK を利用できるようにします。

    `src/main/webapp/WEB-INF/web.xml` を作成または更新し、プレースホルダーの値を実際の Auth0 アプリケーション設定に置き換えます。

    ```xml expandable theme={null}
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
             http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
             version="3.1">

        <display-name>Auth0 Servlet Example</display-name>

        <!-- Auth0 設定 -->
        <context-param>
            <param-name>com.auth0.domain</param-name>
            <param-value>YOUR_AUTH0_DOMAIN</param-value>
        </context-param>
        <context-param>
            <param-name>com.auth0.clientId</param-name>
            <param-value>YOUR_AUTH0_CLIENT_ID</param-value>
        </context-param>
        <context-param>
            <param-name>com.auth0.clientSecret</param-name>
            <param-value>YOUR_AUTH0_CLIENT_SECRET</param-value>
        </context-param>
    </web-app>
    ```

    **重要**: `YOUR_AUTH0_DOMAIN`、`YOUR_AUTH0_CLIENT_ID`、`YOUR_AUTH0_CLIENT_SECRET` は、Auth0 アプリケーションの設定にある実際の値に置き換えてください。
  </Step>

  <Step title="認証コンポーネントとフィルターを作成" stepNumber={5}>
    認証フローの処理とセキュアなページの保護に必要なJavaクラスを作成します。

    <AuthCodeGroup>
      ```java src/main/java/com/auth0/example/AuthenticationControllerProvider.java expandable lines theme={null}
      package com.auth0.example;

      import com.auth0.AuthenticationController;
      import com.auth0.jwk.JwkProvider;
      import com.auth0.jwk.JwkProviderBuilder;

      import javax.servlet.ServletConfig;
      import java.io.UnsupportedEncodingException;

      /**
       * アプリケーション用の AuthenticationController のシングルトンインスタンスを管理します。
       */
      public class AuthenticationControllerProvider {

          private AuthenticationControllerProvider() {}

          private static AuthenticationController INSTANCE;

          public static synchronized AuthenticationController getInstance(ServletConfig config)
                  throws UnsupportedEncodingException {
              if (INSTANCE == null) {
                  String domain = config.getServletContext().getInitParameter("com.auth0.domain");
                  String clientId = config.getServletContext().getInitParameter("com.auth0.clientId");
                  String clientSecret = config.getServletContext().getInitParameter("com.auth0.clientSecret");

                  if (domain == null || clientId == null || clientSecret == null) {
                      throw new IllegalArgumentException(
                          "Missing domain, clientId, or clientSecret. Check your web.xml configuration.");
                  }

                  // RS256 トークンには JwkProvider が必要です
                  JwkProvider jwkProvider = new JwkProviderBuilder(domain).build();
                  INSTANCE = AuthenticationController.newBuilder(domain, clientId, clientSecret)
                          .withJwkProvider(jwkProvider)
                          .build();
              }
              return INSTANCE;
          }
      }
      ```

      ```java src/main/java/com/auth0/example/LoginServlet.java expandable lines theme={null}
      package com.auth0.example;

      import com.auth0.AuthenticationController;

      import javax.servlet.ServletConfig;
      import javax.servlet.ServletException;
      import javax.servlet.annotation.WebServlet;
      import javax.servlet.http.HttpServlet;
      import javax.servlet.http.HttpServletRequest;
      import javax.servlet.http.HttpServletResponse;
      import java.io.IOException;
      import java.io.UnsupportedEncodingException;

      @WebServlet(urlPatterns = {"/login"})
      public class LoginServlet extends HttpServlet {

          private AuthenticationController authenticationController;

          @Override
          public void init(ServletConfig config) throws ServletException {
              super.init(config);
              try {
                  authenticationController = AuthenticationControllerProvider.getInstance(config);
              } catch (UnsupportedEncodingException e) {
                  throw new ServletException("Couldn't create the AuthenticationController instance. Check the configuration.", e);
              }
          }

          @Override
          protected void doGet(HttpServletRequest req, HttpServletResponse res)
                  throws ServletException, IOException {
              // コールバック URL を構築する
              String redirectUri = req.getScheme() + "://" + req.getServerName();
              if ((req.getScheme().equals("http") && req.getServerPort() != 80) ||
                  (req.getScheme().equals("https") && req.getServerPort() != 443)) {
                  redirectUri += ":" + req.getServerPort();
              }
              redirectUri += "/callback";

              // Auth0 認可 URL を生成する
              String authorizeUrl = authenticationController.buildAuthorizeUrl(req, res, redirectUri)
                      .build();
              res.sendRedirect(authorizeUrl);
          }
      }
      ```

      ```java src/main/java/com/auth0/example/CallbackServlet.java expandable lines theme={null}
      package com.auth0.example;

      import com.auth0.AuthenticationController;
      import com.auth0.IdentityVerificationException;
      import com.auth0.SessionUtils;
      import com.auth0.Tokens;

      import javax.servlet.ServletConfig;
      import javax.servlet.ServletException;
      import javax.servlet.annotation.WebServlet;
      import javax.servlet.http.HttpServlet;
      import javax.servlet.http.HttpServletRequest;
      import javax.servlet.http.HttpServletResponse;
      import java.io.IOException;
      import java.io.UnsupportedEncodingException;

      @WebServlet(urlPatterns = {"/callback"})
      public class CallbackServlet extends HttpServlet {

          private AuthenticationController authenticationController;

          @Override
          public void init(ServletConfig config) throws ServletException {
              super.init(config);
              try {
                  authenticationController = AuthenticationControllerProvider.getInstance(config);
              } catch (UnsupportedEncodingException e) {
                  throw new ServletException("Couldn't create the AuthenticationController instance. Check the configuration.", e);
              }
          }

          @Override
          public void doGet(HttpServletRequest req, HttpServletResponse res)
                  throws IOException, ServletException {
              handleCallback(req, res);
          }

          @Override
          public void doPost(HttpServletRequest req, HttpServletResponse res)
                  throws IOException, ServletException {
              handleCallback(req, res);
          }

          private void handleCallback(HttpServletRequest req, HttpServletResponse res)
                  throws IOException {
              try {
                  // 認証コールバックを処理する
                  Tokens tokens = authenticationController.handle(req, res);

                  // セッションにトークンを保存する
                  SessionUtils.set(req, "accessToken", tokens.getAccessToken());
                  SessionUtils.set(req, "idToken", tokens.getIdToken());

                  // セキュアなエリアにリダイレクトする
                  res.sendRedirect("/profile");
              } catch (IdentityVerificationException e) {
                  // 認証失敗
                  e.printStackTrace();
                  res.sendRedirect("/login?error=auth_failed");
              }
          }
      }
      ```

      ```java src/main/java/com/auth0/example/ProfileServlet.java expandable lines theme={null}
      package com.auth0.example;

      import com.auth0.SessionUtils;

      import javax.servlet.ServletException;
      import javax.servlet.annotation.WebServlet;
      import javax.servlet.http.HttpServlet;
      import javax.servlet.http.HttpServletRequest;
      import javax.servlet.http.HttpServletResponse;
      import java.io.IOException;

      @WebServlet(urlPatterns = {"/profile"})
      public class ProfileServlet extends HttpServlet {

          @Override
          protected void doGet(HttpServletRequest req, HttpServletResponse res)
                  throws ServletException, IOException {

              String accessToken = (String) SessionUtils.get(req, "accessToken");
              String idToken = (String) SessionUtils.get(req, "idToken");

              if (accessToken == null && idToken == null) {
                  res.sendRedirect("/login");
                  return;
              }

              // プロファイルJSPにフォワード
              req.setAttribute("accessToken", accessToken);
              req.setAttribute("idToken", idToken);
              req.getRequestDispatcher("/WEB-INF/jsp/profile.jsp").forward(req, res);
          }
      }
      ```

      ```java src/main/java/com/auth0/example/LogoutServlet.java expandable lines theme={null}
      package com.auth0.example;

      import com.auth0.SessionUtils;

      import javax.servlet.ServletException;
      import javax.servlet.annotation.WebServlet;
      import javax.servlet.http.HttpServlet;
      import javax.servlet.http.HttpServletRequest;
      import javax.servlet.http.HttpServletResponse;
      import java.io.IOException;

      @WebServlet(urlPatterns = {"/logout"})
      public class LogoutServlet extends HttpServlet {

          @Override
          protected void doGet(HttpServletRequest req, HttpServletResponse res)
                  throws ServletException, IOException {

              // セッションをクリア
              SessionUtils.set(req, "accessToken", null);
              SessionUtils.set(req, "idToken", null);
              req.getSession().invalidate();

              // ログイン画面にリダイレクト

              res.sendRedirect("/login");
          }
      }
      ```

      ```java src/main/java/com/auth0/example/AuthenticationFilter.java expandable lines theme={null}
      package com.auth0.example;

      import com.auth0.SessionUtils;

      import javax.servlet.*;
      import javax.servlet.annotation.WebFilter;
      import javax.servlet.http.HttpServletRequest;
      import javax.servlet.http.HttpServletResponse;
      import java.io.IOException;

      @WebFilter(urlPatterns = {"/profile"})
      public class AuthenticationFilter implements Filter {

          @Override
          public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
                  throws IOException, ServletException {

              HttpServletRequest req = (HttpServletRequest) request;
              HttpServletResponse res = (HttpServletResponse) response;

              String accessToken = (String) SessionUtils.get(req, "accessToken");
              String idToken = (String) SessionUtils.get(req, "idToken");

              if (accessToken == null && idToken == null) {
                  res.sendRedirect("/login");
                  return;
              }

              chain.doFilter(request, response);
          }

          @Override
          public void init(FilterConfig filterConfig) throws ServletException {
              // フィルターを初期化する
          }

          @Override
          public void destroy() {
              // リソースをクリーンアップする
          }
      }
      ```
    </AuthCodeGroup>
  </Step>

  <Step title="ユーザーインターフェースのページを作成する" stepNumber={6}>
    アプリケーション用の JSP ページと HTML ファイルを作成します。

    <AuthCodeGroup>
      ```jsp src/main/webapp/WEB-INF/jsp/profile.jsp expandable lines theme={null}
      <%@ page contentType="text/html;charset=UTF-8" language="java" %>
      <!DOCTYPE html>
      <html>
      <head>
          <title>ユーザープロファイル - Auth0 の例</title>
          <style>
              body { font-family: Arial, sans-serif; margin: 40px; }
              .profile-container { max-width: 600px; margin: 0 auto; }
              .token-section { margin: 20px 0; padding: 15px; background-color: #f5f5f5; border-radius: 5px; }
              .logout-btn {
                  background-color: #dc3545;
                  color: white;
                  padding: 10px 20px;
                  text-decoration: none;
                  border-radius: 5px;
                  display: inline-block;
                  margin-top: 20px;
              }
              .logout-btn:hover { background-color: #c82333; }
              code { background-color: #e9ecef; padding: 2px 4px; border-radius: 3px; }
          </style>
      </head>
      <body>
          <div class="profile-container">
              <h1>ユーザープロファイルへようこそ！</h1>
              <p>Auth0 による認証に成功しました。</p>

              <div class="token-section">
                  <h3>アクセストークン</h3>
                  <p><code>${accessToken}</code></p>
              </div>

              <div class="token-section">
                  <h3>IDトークン</h3>
                  <p><code>${idToken}</code></p>
              </div>

              <a href="/logout" class="logout-btn">ログアウト</a>
          </div>
      </body>
      </html>
      ```

      ```html src/main/webapp/index.html expandable lines theme={null}
      <!DOCTYPE html>
      <html>
        <head>
          <title>Auth0 Java Servlet の例</title>
          <style>
            body {
              font-family: Arial, sans-serif;
              margin: 0;
              padding: 40px;
              background-color: #f8f9fa;
            }
            .container {
              max-width: 600px;
              margin: 0 auto;
              text-align: center;
              background-color: white;
              padding: 40px;
              border-radius: 8px;
              box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            }
            .login-btn {
              background-color: #007bff;
              color: white;
              padding: 12px 30px;
              text-decoration: none;
              border-radius: 5px;
              display: inline-block;
              font-size: 16px;
              margin-top: 20px;
              transition: background-color 0.3s;
            }
            .login-btn:hover {
              background-color: #0056b3;
            }
            h1 {
              color: #333;
            }
            p {
              color: #666;
              line-height: 1.6;
            }
          </style>
        </head>
        <body>
          <div class="container">
            <h1>Auth0 Java Servlet の例</h1>
            <p>
              この例では、Auth0 Java MVC Commons SDK を使用して Java Servlet
              アプリケーションに認証を追加する方法を示します。
            </p>
            <p>
              下のボタンをクリックして Auth0 で認証し、ユーザープロファイルに
              アクセスしてください。
            </p>

            <a href="/login" class="login-btn">Auth0 でログイン</a>
          </div>
        </body>
      </html>
      ```
    </AuthCodeGroup>
  </Step>

  <Step title="アプリケーションをビルドして実行する" stepNumber={7}>
    これで、アプリケーションをビルドして実行する準備が整いました。

    <Tabs>
      <Tab title="Maven">
        アプリケーションをビルドします。

        ```bash theme={null}
        mvn clean compile war:war
        ```

        Tomcat にデプロイします。

        ```bash theme={null}
        # WAR ファイルを Tomcat の webapps ディレクトリにコピーします
        cp target/auth0-servlet-app.war $CATALINA_HOME/webapps/ROOT.war
        ```
      </Tab>

      <Tab title="Gradle">
        アプリケーションをビルドします。

        ```bash theme={null}
        gradle clean build
        ```

        Tomcat にデプロイします。

        ```bash theme={null}
        # WAR ファイルを Tomcat の webapps ディレクトリにコピーします
        cp build/libs/auth0-servlet-app.war $CATALINA_HOME/webapps/
        ```
      </Tab>
    </Tabs>

    Tomcat (または任意のサーブレットコンテナ) を起動します。

    ```bash theme={null}
    $CATALINA_HOME/bin/startup.sh  # Unix/Linux/Mac の場合
    # または
    $CATALINA_HOME/bin/startup.bat  # Windows の場合
    ```
  </Step>
</Steps>

<Check>
  **チェックポイント**

  これで、[http://localhost:8080/](http://localhost:8080/) で動作する、Auth0 と統合された完全なサーブレットアプリケーションが利用できるようになっているはずです。

  **実装をテストします。**

  1. アプリケーションの URL にアクセスします
  2. 「Auth0 でログイン」をクリックします
  3. Auth0 のログインプロセスを完了します
  4. トークンが表示されるユーザープロファイルページにリダイレクトされるはずです
  5. 「ログアウト」をクリックしてセッションをクリアします
</Check>

***

<div id="advanced-usage">
  ## 高度な使用方法
</div>

<Accordion title="アプリケーションの機能強化">
  基本的な認証が動作するようになったら、次の機能拡張を検討してください。

  * **ユーザープロフィール情報**: IDトークンをデコードしてユーザー情報を表示する
  * **API 呼び出し**: アクセストークンを使用して Auth0 の Management API や独自の API を呼び出す
  * **ロールベースのアクセス制御**: Auth0 のロールと権限を使用して認可を実装する
  * **シングルサインオン**: 複数のアプリケーション間で SSO を構成する
</Accordion>

<Accordion title="追加リソース">
  * [Auth0 Java MVC Commons
    Documentation](https://github.com/auth0/auth0-java-mvc-common) - [Auth0
    Dashboard](https://manage.auth0.com/) - Auth0 アプリケーションの管理 -
    [Auth0 Servlet Sample
    Repository](https://github.com/auth0-samples/auth0-servlet-sample) - 完全な
    例 - [Auth0 Java SDK
    Documentation](https://auth0.com/docs/libraries/auth0-java) - 高度な SDK の
    使用方法
</Accordion>

<Accordion title="トラブルシューティング">
  **よくある問題**

  **「無効なコールバックURL」により認証に失敗する**

  * Auth0アプリケーション設定のコールバックURL が、次の値と完全に一致していることを確認します: `http://localhost:8080/callback`

  **「domain、clientId、または clientSecret がありません」エラー**

  * `web.xml` の設定に正しい Auth0アプリケーションの値が含まれていることを確認します
  * パラメーター名が次のとおり完全に一致していることを確認します: `com.auth0.domain`, `com.auth0.clientId`, `com.auth0.clientSecret`

  **アプリケーションが起動しない**

  * 必要な依存関係がすべてクラスパスに含まれていることを確認します
  * 使用しているサーブレットコンテナが Servlet API 3.0 以降をサポートしていることを確認します
  * サーバーログで具体的なエラーメッセージを確認します

  **セッションが維持されない**

  * サーブレットコンテナがセッション管理用に設定されていることを確認します
  * ブラウザーでクッキーが有効になっていることを確認します
  * 本番環境では HTTPS を使用していることを確認します

  追加のサポートについては、[Auth0 Community](https://community.auth0.com/) にアクセスしてください。
</Accordion>
