I need to set re-direct password error page ($pwd_error) to password reset page ($pwd_reset)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi everyone,
I’m working on a requirement to auto-register external users via a Record Producer (about NDA Generator).
The Scenario:
An internal user submits a Record Producer with an external user's email address.
A Flow Designer flow triggers to register the external user.
The user receives the Out-of-Box (OOB) notification for password reset.
Per security requirements, the token expires in 1 hour.
The Issue: Some users do not check the email within the hour. When they click the expired link, they land on the password error page ($pwd_error) with an unauthorized_access error. This leaves the user "stuck" with no clear next step.
The Requirement: I need to automatically redirect the user from the error page ($pwd_error) back to the password reset page ($pwd_reset) specifically when the error is due to an expired token/unauthorized access.
Questions:
Is there a recommended way to intercept this specific error on the
$pwd_errorUI Page?Should I use a Client Script on the UI Page to trigger the redirect, or is there a system property/configuration I’m missing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
50m ago
Hi @Bird1 ,
Customize the $pwd_error UI Page and auto‑redirect to $pwd_reset when the error is unauthorized_access.
- Open UI Page =
pwd_error - Add a Client Script (or script section) that checks the URL parameter.
- If the error is
unauthorized_access, redirect the user to$pwd_reset.
var params = new URLSearchParams(window.location.search);
if (params.get('sysparm_error') === 'unauthorized_access') {
window.location.href = '/$pwd_reset.do';
}
If security prefers no auto‑redirect, replace it with a button saying “Request new password reset link” that points to
$pwd_reset.do.
Thanks,
Rithika.ch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
8m ago
The $pwd_error UI Page is protected, not allow to modify. Not sure why you suggest this?
