changePasswordBody
email string
Example:
contact@simplejwtlogin.com
code string
Example:
MY_SECRED_CODE_RECEIVED_BY_EMAIL
new_password string
Example:
New user password
JWT
In order to reset password with JWT, you need to check "Allow Reset password with JWT". If a JWT is provided, the code
parameter is no loger required.
Example:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
AUTH_CODE string
Required when "AuthenticationReset Password Requires Auth Code" is enabled
Example:
MY_SUPER_SECRET_AUTH_CODE
changePasswordBody
{
"email": "contact@simplejwtlogin.com",
"code": "MY_SECRED_CODE_RECEIVED_BY_EMAIL",
"new_password": "New user password",
"JWT": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
"AUTH_CODE": "MY_SUPER_SECRET_AUTH_CODE"
}