IBM Support

How to reset password if no email server is configured for notification

Product Documentation


Abstract

If a user requests a password reset, but an email server is not configured, the password reset link cannot be emailed to the user. This article describes a workaround that enables the administrator to access the password reset link and provide it to the user.

Content

Use the following workaround to reset the password and supply it to the user.
First, the user must issue a REST API call to request a password reset:
curl -k -v 'https://security-test.test.example.com/api/request-password-reset'
    -d '{"email":"test@abc.com", "realm":"admin/default-idp-1"}' 
    --header 'Content-type: application/json' --header 'accept: application/json'
The curl call returns an error message (as follows)  which can be ignored:
{
    "status": 400,
    "message": [
        "Reset password request processed. Notifications cannot be sent, please contact the system administrator."
    ]
}
1. The administrator can access the password by obtaining an APIM log ( *-apim-v2-* ), and looking for a log message similar to the following, for the given user:
Password reset request for: test@abc.com in realm, admin/default-idp-1. 
[https://security-test.test.example.com/auth/admin/forgot-password?token=ZXlKaGJHY2lPaUpJVXpJMU5pSXNJblI1Y0NJ
NklrcFhWQ0o5LmV5SnFkR2tpT2lJd05qUXlPV0ptTXkwNU1ETXpMVFF6TVRFdE9UVmtOaTFoTmpJelpESmlNVGc0TXpraUxDSnVZVzFsYzNCaFkyVWlPa
UkzTnpobU0ySmpZeTFtTkRVMUxUUTJOemt0WWpWall5MWhaR0prTlRNMk5qQmlZalE2TW1Sa05HSmlPV1l0TjJRNE5TMDBOemxtTFRsaE56UXRPR0poTk
dFMll6TXdZVGxrT21aak4yWXdNRFl6TFdVMFpqUXRORE5qWmkwNE1ETmtMVEl3TTJGbE1qazRaRE13TXlJc0ltRjFaQ0k2SWk5aGNHa3ZZMnh2ZFdRdmN
tVm5hWE4wY21GMGFXOXVjeTg1TmpReU5qaGxZeTA0TlRCbExUUTNOakF0T1dZeU1DMHpPV1psT0RrME5URmtaallpTENKemRXSWlPaUl2WVhCcEwzVnpa
WEl0Y21WbmFYTjBjbWxsY3k4M056aG1NMkpqWXkxbU5EVTFMVFEyTnprdFlqVmpZeTFoWkdKa05UTTJOakJpWWpRdk1tUmtOR0ppT1dZdE4yUTROUzAwT
npsbUxUbGhOelF0T0dKaE5HRTJZek13WVRsa0wzVnpaWEp6TDJaak4yWXdNRFl6TFdVMFpqUXRORE5qWmkwNE1ETmtMVEl3TTJGbE1qazRaRE13TXlJc0
ltbHpjeUk2SWtsQ1RTQkJVRWtnUTI5dWJtVmpkQ0lzSW5SdmEyVnVYM1I1Y0dVaU9pSnlaWE5sZEY5d1lYTnpkMjl5WkNJc0ltVjRjQ0k2TVRVMk5ERTJ
ORFF5TXl3aWFXRjBJam94TlRZek9Ua3hOakl6TENKMWMyVnlYM0psWjJsemRISjVYM1Z5YkNJNklpOWhjR2t2ZFhObGNpMXlaV2RwYzNSeWFXVnpMemMz
T0dZelltTmpMV1kwTlRVdE5EWTNPUzFpTldOakxXRmtZbVExTXpZMk1HSmlOQzh5WkdRMFltSTVaaTAzWkRnMUxUUTNPV1l0T1dFM05DMDRZbUUwWVRaak
16QmhPV1FpTENKeVpXRnNiU0k2SW1Ga2JXbHVMMlJsWm1GMWJIUXRhV1J3TFRFaUxDSnpZMjl3WlhNaU9uc2lkWEpzSWpvaUwyRndhUzl0WlM5eVpYTmx
kQzF3WVhOemQyOXlaQ0lzSW1GamRHbHZibk1pT2xzaWNtVnpaWFF0Y0dGemMzZHZjbVFpWFgxOS5jOUI2Tk5jU1NjandOMERpeXhkUDIzc0lCVmljbjE4a
2otTjlFejc5M1BF]
3. Copy the link above from the log to a browser.  From the browser, the user can reset the password.

Document Location

Worldwide

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"v2018x","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
09 October 2019

UID

ibm11075113