okta-sdk-nodejs icon indicating copy to clipboard operation
okta-sdk-nodejs copied to clipboard

Provider not specified in query params for resetPassword

Open cjonestempus opened this issue 2 years ago • 1 comments

Describe the feature request?

I was trying to use the SDK to call the resetPassword method in order to set a user provider type to FEDERATION, as specified in the documentation to allow a user to use SSO, but was unable to set provider in the query params object. I see in generated-client.d.ts that sendEmail is the only parameter declared, and as a result, I have to cast the param object to any in order to send provider. Not a huge deal, but figured the SDK could be updated since the documentation is showing this use case.

New or Affected Resource(s)

query parameters for resetPassword method

Provide a documentation link

https://developer.okta.com/docs/reference/api/users/#request-example-convert-a-user-to-a-federated-user

Additional Information?

No response

cjonestempus avatar Dec 13 '22 16:12 cjonestempus

Thanks for submitting this issue. Internal ref: OKTA-570188

denysoblohin-okta avatar Jan 25 '23 17:01 denysoblohin-okta