divakar-loganathan

REST Callback URL feature- Is Callback key sent as Authorization header?

0 votes
Hello, I'm working on integrating the Callback feature with the current application. I'm using a Callback key in addition to the Callback URL, I have a doubt regarding the POST sent by the Esignlive after the occurrences of the events that are registered for. Is the callback key, I mentioned sent as the Authorization header in the POST ? Or if is it sent as any other header ? if so could you please explain what header it comes in as? Thank you very much in advance. Best Regards, Logan

Approved Answer

Reply to: REST Callback URL feature- Is Callback key sent as Authorization header?

0 votes
Hey Logan, Your first assumption was correct that the callback key you registered is passed through the Authorization header as “Basic {callbackKey}” to make sure you’re receiving notifications that contain the shared secret, so you know you’re not getting spoof calls and can react accordingly. You can also refer to our Create a Callback Event Notification Listener guide where you can find more examples in action showcasing the suggested steps to handle the callback calls. Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: REST Callback URL feature- Is Callback key sent as Authorization header?

0 votes
Thanks for you swift response as always, Duo :)

Reply to: REST Callback URL feature- Is Callback key sent as Authorization header?

0 votes
So, Kindly let me know if my assumption is correct, Say for example I use the callback key as "xyzABC123" Then in the POST sent from ESL, I will have the Authorization: Basic xyzABC123 Just wanted to confirm, Thanks in advance Duo :) Best Regards, Logan

Reply to: REST Callback URL feature- Is Callback key sent as Authorization header?

0 votes
Hey Logan, Yes, your callback key will be included in request header in plain text. :) Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off