This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

401 error

  1. Refer to one identity manager REST API doc, step1 "To use the One Identity Manager REST API you first have to authenticate against the application server."We have tried and it did work.

The response is below:

{"claims":{"http://schemas.dell.com/ws/2014/10/identity/claims/identifier":"CCCNanling","http://schemas.dell.com/ws/2014/10/identity/claims/useruid":"CCC-667EE6D1F070AC44A1EC9D6009611F65","http://schemas.dell.com/ws/2014/10/identity/claims/module":"DialogUser","http://schemas.dell.com/ws/2014/10/identity/claims/product":"","http://schemas.dell.com/ws/2014/10/identity/claims/isreadonly":"true"},"passwordBased":true,"moduleDisplay":"System user","sessionId":"slUWZq7OGcLI8FE4ZSiE","userName":"CCCNanling","responseStatus":{}}

 

  1. The error 401 "Unauthorized:was thrown on Step 2 when try to get the list of entities from the server.

 

So :

  • Do we need to save the Session after the Step 1 - Login authentication? And how to pass the session to the application server on Step 2?
  • There is no detail mentioned in the RestAPI Reference for session passing,  Any other API Reference to provide?  
  • Or could you provide some sample sources?
  • Any SDK for this REST API ?