ooth icon indicating copy to clipboard operation
ooth copied to clipboard

Ooth Client headers

Open dfliess opened this issue 6 years ago • 0 comments

I was receiving an error on authentication when calling ooth.method().

Debuging code I found https://github.com/nmaro/ooth/blob/c4d12242ef9fbb2fbbc63140a3feffdc5d64b2c7/packages/ooth-client/src/index.ts#L133

and I think it should be

actualHeaders.Authorization = `JWT ${this.token}`;

dfliess avatar May 22 '19 19:05 dfliess