Looker Community

API password_reset call problems

I am trying to use the API3 to automatically create users for our external clients. When I make this call: cred = userapi.create_user_credentials_email_password_reset(user_id, expires=False) , it successfully generates a password_reset_url, but when I go to that URL, it says the link has expired.

Has anyone run into similar issues? Also, shouldn’t there be a call to create an account setup link? When I did this manually, the URL that was created for a new user looked like this: https://looker.ibotta.com/account/setup/...

I ran into this same issue when creating a new user and then attempting to generate a reset password URL. It appears that the token created at the end of the passwordResetURL can be used on the end of …/account/setup/{tokenid} to display the “Welcome to Looker” screen where the end user then sets there first,last, password and agrees to terms and conditions…