Forgot password

The forgot password workflow is designed to trigger an email or SMS message to the user. Once the user is redirected back to your own application, your application needs to present them with a screen to set a new password.

Send user forgot password link by email address

curl --request POST \
     --url 'https://dev.account.shelln.com/idp/v1/account/forgot-password' \
     --header 'Content-Type: application/json' \
     --data '
{
     "auth_type": "email",
     "client_id": "c8462jyq9dnupu2q4j7sfjzvn6c87j92",
     "redirect_uri": "https://localhost.com"
     "user_id": "[email protected]",
     "locale": "en-US"
}
'

Send user forgot password link by mobile phone number

curl --location --request POST 'https://dev.account.shell.com/idp/v1/account/forgot-password' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
             "auth_type": "sms",
             "client_id": "c8462jyq9dnupu2q4j7sfjzvn6c87j92",
             "redirect_uri": "http://localhost.com",
             "user_id":"+15417543010",
             "locale": "en-US"
            }'

📘

About the /forgot-password API call

More details can be found in the Next Identity Forgot Password API guide.