-
Notifications
You must be signed in to change notification settings - Fork 26
Merge wied03/ENG-2158/change-password #171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,34 @@ | ||||||
| { | ||||||
| "uri": "/api/user/change-password", | ||||||
| "comments": [ | ||||||
| "Check to see if the user must obtain a Trust Request Id in order to complete a change password request.", | ||||||
| "When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change", | ||||||
| "your password, you must obtain a Trust Request Id by completing a Two-Factor Step-Up authentication.", | ||||||
| "", | ||||||
| "An HTTP status code of 400 with a general error code of [TrustTokenRequired] indicates that a Trust Token is required to make a POST request to this API." | ||||||
| ], | ||||||
| "method": "get", | ||||||
| "methodName": "checkChangePasswordUsingLoginIdAndLoginIdTypes", | ||||||
| "successResponse": "Void", | ||||||
| "errorResponse": "Errors", | ||||||
| "params": [ | ||||||
| { | ||||||
| "name": "loginId", | ||||||
| "comments": [ | ||||||
| "The loginId of the User that you intend to change the password for." | ||||||
| ], | ||||||
| "type": "urlParameter", | ||||||
| "parameterName": "loginId", | ||||||
| "javaType": "String" | ||||||
| }, | ||||||
| { | ||||||
| "name": "loginIdTypes", | ||||||
| "comments": [ | ||||||
| "the identity types that FusionAuth will compare the loginId to." | ||||||
|
||||||
| "the identity types that FusionAuth will compare the loginId to." | |
| "The identity types that FusionAuth will compare the loginId to." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pushed in 0ddacb5 - everything will need re-approval as a result (app especially)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We didn't have anything using this particular API endpoint so this was not noticed but the parameter name was wrong. The action does not have a
usernamefield, only aloginIdfield.The difference is noticeable in the java client https://github.com/FusionAuth/fusionauth-java-client/pull/144/files#diff-907b0157ed4d05913f38430e58f3513c6262bf0f51eb14b81ad41a190d8af575R547
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this client method wouldn't have worked before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's right. It would not have. We don't consume it ourselves so that's 1 reason we didn't notice.