-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passing token via general.js file #8
Comments
@emil126a
|
Make sure the value of Authorization has a prefix of "Bearer "+token |
getUser is not defined... |
Ah. Sorry I forgot to mention. You gotta have to import those methods from auth.js in helper folder.
|
axios.defaults.headers.common["Authorization"]
does not work. Each request call says "Token not provided". Would be nice if you fixed.The text was updated successfully, but these errors were encountered: