Skip to content

Conversation

Copy link
Contributor Author

@wied03 wied03 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self review

],
"type": "urlParameter",
"parameterName": "username",
"parameterName": "loginId",
Copy link
Contributor Author

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 username field, only a loginId field.

The difference is noticeable in the java client https://github.com/FusionAuth/fusionauth-java-client/pull/144/files#diff-907b0157ed4d05913f38430e58f3513c6262bf0f51eb14b81ad41a190d8af575R547

Copy link
Contributor

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?

Copy link
Contributor Author

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.

@wied03 wied03 requested a review from spwitt September 15, 2025 21:03
Copy link
Contributor

@spwitt spwitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to make sure the username parameter meant that it was broken before and now fixed with this change.

It seems odd that the loginIdTypes comment is not capitalized, but I guess it ends up as a doc comment. It's probably fine either way.

],
"type": "urlParameter",
"parameterName": "username",
"parameterName": "loginId",
Copy link
Contributor

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?

{
"name": "loginIdTypes",
"comments": [
"the identity types that FusionAuth will compare the loginId to."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a couple other APIs that have the t for this parameter. Can we fix those too?

Suggested change
"the identity types that FusionAuth will compare the loginId to."
"The identity types that FusionAuth will compare the loginId to."

Copy link
Contributor Author

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)

@wied03 wied03 requested a review from spwitt September 15, 2025 21:30
@wied03 wied03 merged commit eb77c7d into develop Sep 16, 2025
1 check passed
@wied03 wied03 deleted the wied03/ENG-2158/change-password branch September 16, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants