-
Notifications
You must be signed in to change notification settings - Fork 27
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
patchRegistration not working as intended #72
Comments
@shemming sorry to hear that! We have some issues with patch support (see FusionAuth/fusionauth-issues#441 and upvote it if it is important to you). Can you please share sample code so we can see if this is an issue with the client library or something else? |
sure! when using the client the call looked like this:
i had to make a call before this to get the registration info and add the additional roles to the existing roles to get when making the axios call it looks like this:
when doing it this way, the new role was correctly concatenated to the existing list without having to make a call to get the existing roles first. |
Also running into this issue. When using |
fusionauth-typescript-client/src/FusionAuthClient.ts
Line 2029 in 3b27258
I was attempting to use the
patchRegistration
call linked above and noticed it was wiping out / overwriting registration information instead of updating an entry / adding to an array. This endpoint looks like it is actually hitting theCreate a User Registration for an existing User
endpoint because the application ID is not being added to the URI. To test this I made a direct http patch call through axios and it works as expected (in alignment with the documentation for this endpoint)The text was updated successfully, but these errors were encountered: