wso2 / product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
727 stars 713 forks source link

Admin Forced Reset Password Not Working Due to Incorrect Claim Dialect #20630

Closed PasinduYeshan closed 1 day ago

PasinduYeshan commented 3 days ago

Describe the issue: Admin forced reset password is not working due to it updating the wrong claim dialect.

Incorrect payload:

{
    "op": "add",
    "value": {
        "urn:scim:wso2:schema": {
            "forcePasswordReset": true
        }
    }
}

Correct payload: { "op": "add", "value": { "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": { "forcePasswordReset": true } } }

https://github.com/wso2/product-is/assets/61885844/96e6f5f3-5e45-4c1b-83f0-3189c5e75f1b

How to reproduce:

Expected behavior: Password reset email should be sent to the user's email address.

Environment information (Please complete the following information; remove any unnecessary fields) :


Optional Fields

Related issues:

Suggested labels: