How to handle conjur user session

When i authenticate Conjur using REST API I am getting a Json response like {“protected”: “", “payload”: "”, “signature”: “******”}. when i use this like protected.payload.signature as authorization token I am getting an error with 401. What i am doing wrong here? How can i handle session in Conjur?

You’ll need to base64 encode the token before sending it in the Authorization header. Please see for details and an example of how to format the token. Note also that while testing, you can create a pre-formatted token using the CLI with the option conjur authn authenticate -H after you’ve logged in to compare against what you’re getting with your REST API calls.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.