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

0Auth2.0は、トークンの有効期限前でも毎回新しいトークンを発行する。

written-by

Adrienne Lao

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

問題

  • access_tokenの有効期限のデフォルトは10分に設定されています。 前のトークンの有効期限が切れる前に/oauth2/tokenを呼び出すと、元のトークンの代わりにまったく新しいトークンが発行されます。

Environment

  • DXP 7.4

解決策

  • この振る舞いは想定内だ。 残念ながら、Liferayは10分の有効期限が切れる前に同じトークンを再現するように設定することはできません。

did-this-article-resolve-your-issue

legacy-knowledge-base