Closed punithdj closed 2 years ago
Hi @punithdj,
this can simply be achieved by providing a custom HTTP Header.
See https://datatracker.ietf.org/doc/html/rfc7617 for the full spec.
Name of the header: Authorization
and the value is Basic "+ base64(username + ":" + password)
Just add it to AS2ClientSetting.customHeaders ()
hth, Philip
Hi Philip,
Is HTTP basic authentication supported in as2-lib latest version ? I didn't find an option to add username/password to as2ClientSettings or AS2ClientRequest object.