Skip to main content

Hi,

I need to add authorization basic auth (username, password) to every endpoint in my rest api(Tripletex).

I have added dynamic values from the endpoint “TokenSessionCreate Create” creating a session token.

This token is my password and using a fixed username to every endpoint.

In my endpoint “LedgerPosting” am using the section “Override Headers” to add the token to the “Authorization” and the value equal “Basic user:pwd”. 

Well, I cant get this to work.

I proberly nedd to convert usr:pwd to base64 encoding….

Does anyone have any suggestion?

best regards,

Bjørn A.

 

 

 

 

Hi ​@bjorn 

I would try to generate the base64 encoding elsewhere and apply it as a header to see if it is what is needed. Then I would try to figure out how to make it generate such a encoding afterwards.


Hi ​@bjorn does Thomas’ comment above answer your question? If so please help us by marking it as the best answer. Please let us know if you have any follow up questions


Reply