Skip to content
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

apiUrl - setting headers #65

Closed
mjalindahl opened this issue Dec 20, 2017 · 2 comments
Closed

apiUrl - setting headers #65

mjalindahl opened this issue Dec 20, 2017 · 2 comments

Comments

@mjalindahl
Copy link

My requirement, as with most APIs, requires JWT. I need to be able to send an "Authorization" header along with the API request.

Is this already supported somehow, or do I just need to replace the whole apiUrl system with an axios call?

Thanks in advance!

@mjalindahl
Copy link
Author

This is related to Issue #45 opened by kahwooi. His proposed solution doesn't seem to work, however.

@smartapant
Copy link
Contributor

@mjalindahl the way @kahwooi solved the issue is the quite close to the one we use in commercial projects. Check out https://github.com/axios/axios and read it's docs, it's quite easy to use.

AlexanderBoriskin added a commit that referenced this issue Aug 2, 2019
asvae added a commit that referenced this issue Aug 3, 2019
* fix: bug №41

* fix: open menu item in a new tab

* fix: spinners color palette

* 1-4, 6-7

* fix: bug №9 (additional tweaks)

* fix: bug №17

* fix: bug №21

* fix: bug №22

* fix: bug №23

* fix: bug №24

* fix: bug №15

* fix: "Show All" button alignment

* fix: bug №6

* Fix/bugs (#622)

* fix: bug №8, bug №10, bug №16, bug №28, bug №36

* revert google map changes

* fix: bug #91, 12

* Fix/bugs (#623)

* fix: dropdown regression

* fix: bug №20

* fix: №89 and №56

* get rid of unnecessary anymore overriding styles

* fix: restore default selection for medium-editor

* fix: dropdown problem

* fix: bug №37 (charts)

* fix: bug №90

* fix: bug №93

* fix: bug №94

* fix: bug №95

* Fix/bugs #34 & #37 (#624)

* chore: remove old component  va-pre-loader

* fix: dashboard info block alignment and text wrapping

* chore: remove vee-validate (not used)

* minor

* chore: remove unused deps

* chore: update risky deps

* fix: VaSelect-mutli chips

* Fix/bug #92 (#625)

* fix: bugs №46 and №47

* fix: bugs №48 and №49

* fix: bug №52

* fix: bug №84

* Fix/bugs #54, #55, #59, #77, #78 (#626)

* fix: bug №71

* fix: bug №87

* Fix/bugs #65, #66, #72, #74, #82, #83 (#627)

* Fix/bugs #53, #68 (#628)

* fix: bug №42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants