Type of the field provider
is mismatching in the bodyParameters
for link
method in user management apis
#963
Labels
bug
This points to a verified bug in the code
Checklist
Description
The field
provider
is defined asstring
in the interfacesUserIdentities
andGetUsers200ResponseOneOfInnerIdentitiesInner
. But for the methodlink
inusers
section of the management api client, the optional fieldprovider
in the bodyParameters of typePostIdentitiesRequest
is defined asPostIdentitiesRequestProviderEnum
. Due to this, one can't simply extract identitites from a user profile and loop it to link as suggested in the documentation, Since it throws a type mismatch error forprovider
.Reproduction
The scenario is finding every account with same email id and linking it together.
Additional context
No response
node-auth0 version
4.0.1
Node.js version
18
The text was updated successfully, but these errors were encountered: