legacy-knowledge-base
公開されました Jun. 30, 2025

各ユーザーのokta認証トークンを抽出するには?

written-by

Kanchan Bisht

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

問題

  • ユーザーがLiferayにログインすると、Oktaにリダイレクトされるはずです。 認証に成功すると、Oktaはそのユーザーの認証トークンを返すことになっています。
    懸念事項OIDC経由でOkta認証に成功した後、ユーザーがLiferayからトークンを取得できない。 Liferayからokta認証トークンを取得する方法はありますか。

Environment

  • Liferay DXP 7.4

解決策

  • OIDCアクセストークンを取得・確認するためのエンドポイントはありません。 OIDCアクセストークン.
    • しかし、UserInfoの情報を保持するクラスをAPIモデルに持つよう、機能リクエストが行われている。 同 LPS-116678 をご参照ください。
  • 別の方法:ユーザー情報エンドポイントを読み込む。 https://github.com/fabian-bouche-liferay/oidc-userinfo-mapping. ユーザーはこれを参考に、現在使用しているDXP 7.4用のものを作成することができる。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base