01-26-2016 10:32 AM
Hi
Just getting my feet wet with the REST API. After solving the HTTP version issue (extracting data works in HTTP 1.1 mode but apparently PUT'ing doesn't.. what's up with that? especially as all the responses are HTTP 1.1 as well), I'm now trying my first user login, and I'm being told
<ApiErrors>
<ApiError>
<ErrorType>Invalid Authorization User Specified</ErrorType>
<ErrorData>testuser</ErrorData>
<ErrorMessage>The user specified in the authentication credentials and the uri don't match</ErrorMessage>
</ApiError>
</ApiErrors>
Of course they don't match.. I want to use the admin account.. after all I may not know the user's credentials (in this case the user is integrated so I really don't know his or her password). How to solve this conundrum? I can't possibly know the user's credentials in a server to server app - that would be a major security risk.
Solved! Go to Solution.
01-29-2016 02:51 AM
I haven't tried actual login/logout yet as this terminates any active connections, but I found that I can use the credentials of a supervisor to set the agent state of all members in the team where the supervisor is a supervisor.
Data extracting itself (e.g. user) also works with the admin credentials.
01-29-2016 02:51 AM
I haven't tried actual login/logout yet as this terminates any active connections, but I found that I can use the credentials of a supervisor to set the agent state of all members in the team where the supervisor is a supervisor.
Data extracting itself (e.g. user) also works with the admin credentials.
02-26-2016 01:45 PM
I think you already figured this out, but the only user authorized to login a user is the user itself. You are correct that after the user is logged in, the supervisor can change the agent's state to ready, not ready, and logout.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide