07/18/2023 11:24 AM
When I create a user through the UI, I'm not able to make any API calls using this user's profile. It requires me to login first from the UI and reset the initial password. Since I have SSO enabled I can't log in via the UI to reset it. Trying to reset it from Admin Functions doesn't help either. Is there a way to bypass this requirement of logging in from the UI?
Solved! Go to Solution.
07/18/2023 11:42 AM
Yes, please check below document , it has all the details.
Hope this helps!!
07/18/2023 11:46 AM
Hi @BillyMai ,
Can you try by uncheck the Set Security Question on Login option under Global Configurations --> Preferences
07/18/2023 01:27 PM
It already is unchecked, It was never checked.
07/18/2023 01:36 PM
How you are getting the initial password once user created through UI?
07/18/2023 01:42 PM
Admin functions
07/18/2023 01:51 PM
That’s the reason, you need to reset the password on first logon.
Since admin is resetting the password through Admin Function, user needs to reset password on first login otherwise it will be a security issue since admin also know the password.
07/18/2023 02:35 PM
Since SSO is enabled and local authentication is turned off, how will the user login to reset the password?
07/18/2023 08:05 PM
update users set passwordexpired=0, localauthenabled=1 where username='SAVIyntXXXXX'
07/21/2023 09:30 AM
I found that you have to do it in this order:
1. create the user via the API
2. set localauthenabled = 1
3. reset password via admin functions
4. set passwordexpired = 0
5. use the updated password to make api call