using the api to set a users password then forcing them to change it | Community
Skip to main content

using the api to set a users password then forcing them to change it

  • July 10, 2025
  • 1 reply
  • 0 views

Hello,

 

we create users through an api call when they sign up for our service, but when a user wants to visit the portal  they have to use the “forgot password” to setup a password, I would like to send them a 1 time password to initially log into the portal, then they have to reset their password when they log in, is that possible using the set password api? or does it just allow them to continue to use the password?

1 reply

Greg29
  • July 10, 2025

Hi Bob! There are quite a few options for user authentication, so rather than going through each one, I'll link you to this article. To directly answer your question, there isn't a way using Zendesk authentication to do directly what you're trying to do, but you can set it such so that when they register, they receive an email to create their password. Slightly different, but it will accomplish a similar goal. If you want to do it exactly as you outlined, you can see the options for third-party auth and then potentially configure that to meet your needs.