Reset password link expiring before the defined time

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

Problem description

When using Crowd's Forgot your password? option, he reset link doesn't work and produces an error, even if accessed immediately after receiving the email:

The reset password token you have provided has expired.

診断

  • Check if the following message appears in atlassian-crowd.log:
2019-10-15 16:37:41,135 https-jsse-nio-8443-exec-8 INFO [crowd.console.action.ResetPassword] Invalid reset password token for null
  • Compare the link received in the email with the actual URL in the Crowd login page. 
  • Log into Crowd with an Admin account, go to General options and check the Base URL value. It must match the initial part of the reset link received via email.

ソリューション


Crowd 2.12 and below

Edit the <crowd_home>/crowd.properties file and change (or add) the base URL (crowd.base.url) there. This determines the address Crowd will use in that email.

例:

#Tue Jun 21 14:12:06 BRT 2011
session.lastvalidation=session.lastvalidation
application.password=7lt9dcPS
session.isauthenticated=session.isauthenticated
application.name=crowd
crowd.server.url=http\://192.168.132.36\:8095/crowd/services/
session.validationinterval=0
session.tokenkey=session.tokenkey
application.login.url=http\://192.168.132.36\:8095/crowd
crowd.base.url=http\://localhost\:8095/crowd

Instead of:

#Tue Jun 21 14:12:06 BRT 2011
session.lastvalidation=session.lastvalidation
application.password=7lt9dcPS
session.isauthenticated=session.isauthenticated
application.name=crowd
crowd.server.url=http\://192.168.132.36\:8095/crowd/services/
session.validationinterval=0
session.tokenkey=session.tokenkey
application.login.url=http\://192.168.132.36\:8095/crowd


Update the Base URL accordingly:

  1. Log in to the Crowd Administration Console.
  2. Click the 'Cog Icon' button in the top navigation bar, then General.
  3. The 'General options' screen appears. Type the new base URL in the appropriate field. For example:
  4. Click the 'Update' button



最終更新日: 2019 年 10 月 15 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.