I'm using a version of this to access the Harvest API and it requires that for a profile request, the Content-Type and Accept headers be set. As written, serverless-authentication/lib/providers.js doesn't provide for the capability to set special headers for a custom provider.
I'm using a version of this to access the Harvest API and it requires that for a profile request, the Content-Type and Accept headers be set. As written,
serverless-authentication/lib/providers.js
doesn't provide for the capability to set special headers for a custom provider.