Hi !
I would like to know if it’s possible to have a list of users (for using it as Basic Auth / Digest Auth for webhooks) that i can manually (of with another flow) update/generate. The basic idea is i need to have a list of users, they use their account login and pass, next they can use webhook as an api with their credentials. Is that possible ? Sorry if the question as been asked, did’nt found what i’m looking for…
Hi @Edouard, so you’d like to use several different credentials for your webhook node? Afaik you can only use one set of credentials in the webhook node.
But if you want to match against a whole list of users you could not configure your credentials in the webhook itself and instead read the authorization
header from your webhook:
In your workflow you could then check if your authorization value is on your list (for example query a database to check whether the authorization is valid). Depending on your outcome you can then send a success (or error) response using the Respond to Webhook node.
Hope this provides some initial pointers on how you could address this problem 
1 Like
Hi @MutedJam ! Thank you so much i will try this today
Looks like exactly what i was looking for !
Cheers
1 Like
Glad to hear! If you want to take it one step further, you could also decode the base64 string in the Basic auth header and then separate username and password (if you need to compare both separately for example):

Example Workflow