(ECS) Cannot reset a password for a user created in member tenant ("Your key is too long")

Description

Overview:

Cannot reset a password for a user created in member tenant. "Your key is too long" message when opening reset password link. Also, the link has wrong base URL and requires updating before usage.

Steps to reproduce:

  1. Login to evrk2 ECS Central tenant as an admin user

  2. Go to “Users“ app

  3. Open any user

  4. “Actions“ → ”Edit”

  5. Click on “Send reset password email“ link → The link has wrong base URL (see screencast)

  6. Update the link with correct base URL in any text editor

  7. Log out

  8. Open updated link in a browser

Expected result:
Reset password screen is shown.

Actual result:
A screen with “Your key is too long" message is shown.

Additional info:

 

Environment

None

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Estimation Notes and Assumptions

None

RCA Group Details

None

Attachments

1
  • 26 Jul 2024, 03:33 PM

Checklist

hide

Activity

Show:

Craig McNally July 29, 2024 at 4:46 PM
Edited

I was able to resolve this by specifying the following configuration entries:

{ "id" : "d25b2755-1e66-4b0e-9846-1f516b73c9cb", "module" : "USERSBL", "configName" : "resetPassword", "code" : "FOLIO_HOST", "description" : "", "default" : true, "enabled" : true, "value" : "https://eureka-central-tenant.int.aws.folio.org", "metadata" : { "createdDate" : "2024-07-29T16:44:59.199+00:00", "createdByUserId" : "a3d2fb7a-c200-402f-845e-b79e10afaf72", "updatedDate" : "2024-07-29T16:44:59.199+00:00", "updatedByUserId" : "a3d2fb7a-c200-402f-845e-b79e10afaf72" } }, { "id": "ec6d1a25-e091-47c1-91d3-d119ce7466d1", "module": "USERSBL", "configName": "validation_rules", "code": "PUT_RESET_TOKEN_IN_QUERY_PARAMS", "description": "Defines location of reset token: path or query params", "default": true, "enabled": true, "value": "true", "metadata": { "createdDate": "2024-04-12T14:00:24.326+00:00", "createdByUserId": "2453fcff-fe2c-450c-a9e8-7be93caf16cd", "updatedDate": "2024-04-29T12:33:47.008+00:00" } }
Done

Details

Assignee

Reporter

Development Team

Eureka

RCA Group

TBD

Story Points

Sprint

Priority

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created July 26, 2024 at 3:24 PM
Updated July 29, 2024 at 4:49 PM
Resolved July 29, 2024 at 4:49 PM
TestRail: Cases
TestRail: Runs

Flag notifications