Add Client ID and Secret as headers

73 views
Skip to first unread message

Binzy

unread,
Jan 25, 2024, 7:49:00 PM1/25/24
to ZAP User Group
I have a client ID and secret; how do I add this as parameters / headers on zap using the requester function to authenticate to an API.

I have tried converting this to base64 and adding -

Authorization: Basic xxxxxxxx

But I still get invalid client ID and secret.

With Curl directly, I can parse the client ID as -

--header 'client_id:xxxxxxxxxxx'

and this works

Any advice is appreciatted

Thanks.

Simon Bennetts

unread,
Jan 26, 2024, 4:11:22 AM1/26/24
to ZAP User Group
I'm confused.
Why are you not adding "client_id:xxxxxxxxxxx" in ZAP when this works in curl?

Cheers,

Simon
Reply all
Reply to author
Forward
0 new messages