Reset password token

Can you provide an example of resetting the password, using the REST API or Java SDK where we have the one-time token generated when the user requested the reset and we have the new password.

We are not using a recovery question.

Hey @chrisc,

Take a look at our API docs: https://developer.okta.com/docs/api/resources/users/#reset-password
From our Java SDK, the equivalent would be calling user.resetPassword(...)

Or if you are using the Authentication API: https://developer.okta.com/docs/api/resources/authn/#answer-recovery-question