legacy-knowledge-base
公開されました Sep. 10, 2025

プロジェクトのLXCコンソールの有効なアクセストークンをプログラムで取得する方法は?

written-by

Gustavo Vasconcelos

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • LXC の認証ドキュメント では、 「Cookie access_token からのトークンが取得され、 dxpcloud-authorization ヘッダーで使用される」と記載されています。
  • これには、ログに記録されたブラウザー ウィンドウから Cookie の値を抽出する必要があります。
  • 有効なアクセストークンをプログラムで取得するにはどうすればよいですか?

Environment

  • Liferay エクスペリエンス プラットフォーム - セルフマネージド (LXC-SM)

解決策

  • 当社の LXC-SM サービスは現在、このタイプの統合をサポートしておらず、コンソールも API もこの用途向けに設計されていません。
  • アクセス トークンを取得する唯一の方法は、 認証 の記事で説明されているように、ログに記録されたブラウザー セッションから取得することです。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base