Currently if the gateway is secured via basic auth, an error is thrown. Would be good to add support for this.
From a UX perspective, I reckon this would be good:
const OpenFaaS = require('openfaas')
const openfaas = new OpenFaaS('gateway:8080', {
user: 'admin',
password: 'secret'
})
Not sure how this works with got, it currently throws Basic authentication must be done with auth option but I can't find documentation for that specific option.
@austinfrey I can pick this up if you want?
Currently if the gateway is secured via basic auth, an error is thrown. Would be good to add support for this.
From a UX perspective, I reckon this would be good:
Not sure how this works with
got, it currently throwsBasic authentication must be done with auth optionbut I can't find documentation for that specific option.@austinfrey I can pick this up if you want?