Azure / Azure/azure-functions-host
Resolve discrepancy in Http/WebHook multi-key scenarios
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
Description
In WebHook multi-key scenarios, to specify a key other than default, a **clientid** query parameter is required:
`https://myfunctions.azurewebsites.net/api/mywebhook?clientid=c1&code=xyz123`
Whereas for vanilla http functions no secondary param is required to identify the key. The reason for this is historical, because WebHook auth is built on the ASP.NET WebHooks library which requires this model, and that integration came after our http function model.
We should investigate ways of smoothing over this discrepancy.
Contributor guide
Research direction
Start by reproducing the documented WebHook and vanilla HTTP multi-key request examples and compare how each identifies a non-default key. Trace the existing authentication handling for both paths. Done means the discrepancy is resolved without breaking either request model, with behavior covered by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, authentication, backend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100