-
Notifications
You must be signed in to change notification settings - Fork 4
Support Basic Auth #7
Comments
Thanks for the reminder @alexking! I think @austinfrey was going to look at PR #6 but didn't get time. I'm happy to bring that PR up-to-date if it's out of sync with |
@austinfrey is not maintaining the repo anymore. I'm OK with us switching to the more common |
Switching to
|
Ok - yeah I'm happy to work on this but also don't want to reinvent the wheel if @developius is planning to rebase their PR. |
This whole repo could do with an overhaul since it's no longer maintained by the original author. I'd say go ahead and and see if you can make it useful. |
The got http library doesn't support authentication in URLs such as
user:[email protected]
, so there's currently no way to use gateways with basic auth in front of them.Looks like this was raised as an issue on the old repository austinfrey#5 - and PR #6 does add basic auth, but was never merged, and seems to be against an old version.
Would it be better to –
new OpenFaas(gateway, { auth: "user:pass" })
and any requests will then merge that in before sendingThe text was updated successfully, but these errors were encountered: