I am using the expirePasswordAndGetTemporaryPassword
function sending the following in the body:
{ "id": "someID", "tempPassword": true }
I get a response back with the status of ‘PASSWORD_EXPIRED’ but I do not get a tempPassword returned. _links_
are included in the response and I try to use the expire_password
attribute and added tempPassword=true
as a param but I get a 401. I am stuck on how to proceed here
Hi @mckNana,
Which SDK are you using?
I verified that there is indeed a bug in the nodejs SDK which we will fix soon.
Regards,
Vijet
I am using the 4.0.0.0 SDK currently
No @mckNana. That route should work fine. It should expire the password for the user.
The issue was with the tempPassword
query param being sent by the SDK to the Okta endpoint. There was an issue with encoding which caused this.
We have fixed the issue here - https://github.com/okta/okta-sdk-nodejs/pull/180
We will release a patch version for the nodejs SDK soon and you should be able to upgrade and fix it.
Thanks for catching and notifying us about the bug.
Yes, you should be able to do that.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.