haskell-servant / haskell-servant/servant
servant-foreign is missing basic auth instances
Open
enhancement
servant-foreign
- Dominant language
- Haskell
- Stars
- 2k
- Forks
- 427
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 5
Description
One of my servant routes has the following type: `"users" :> "info" :> BasicAuth "Ganja" SessionId :> Get '[JSON] User`. I want to use this from javascript so that I can query username/password protected endpoints via automatically generated javascript functions.
However, this doesn't work:

Could BasicAuth instances be added to servant-foreign?
Contributor guide
Assessment
This issue has not been assessed yet.