I want to access an CORS API which takes authentication per cookies.
To send cookies we need to call .withCredentials() on the superagent.Request instance from Model.get. Unfortunately there is no good way to plug in to this.
What would the best way be to workaround/fix this?
I want to access an CORS API which takes authentication per cookies.
To send cookies we need to call
.withCredentials()
on thesuperagent.Request
instance fromModel.get
. Unfortunately there is no good way to plug in to this.What would the best way be to workaround/fix this?
Bo