Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Ooth Client headers #89

Open
dfliess opened this issue May 22, 2019 · 0 comments
Open

Ooth Client headers #89

dfliess opened this issue May 22, 2019 · 0 comments

Comments

@dfliess
Copy link

dfliess commented May 22, 2019

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}`;
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant