Creating user with fake password (ruby API)


I have SSO enabled for our web-app and I would like to create zendesk users when users sign up on our side.

However, when I do create users – they're asked to set a password. This seems redundant and I don't want to spam our users.


I've tried setting a fake password, but that didn't work as 'password' seems to be a 'restricted key'.

I'm using the ruby gem provided by zendesk: https://github.com/zendesk/zendesk_api_client_rb



The only other solution I can think of (to create an actual zendesk user) is to redirect the user (after signing up) to sign into zendesk as well and then do a /search and find the zendesk user id. Which seems like a hack to me and is already way too many redirects!


This is high priority for us. Please advise on how we can move forward.


  • 0

    This is a feature we're looking into but I can't make any promises for implementation.

  • 0

    Is this issue resolved with v2 of the api?

  • 0

    Yes all you need to do is create a user with a verified identity. They won't be prompted to log into Zendesk.

  • 0

    Thanks for the quick response :). I just sent a support request asking how 
    to do that without leaving my SPA. Can that be done with e.g. json calls?

  • 0

    Yes it's one of the fields in the user JSON you can set. Just set verified to true on user creation.

  • 0

    If a user is set to verified as true on creation, how do they log in once logged out if they do not have a password?

Please sign in to leave a comment.