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

Add support for @nuxtjs/axios module. #63

Closed
Tracked by #405 ...
Decipher opened this issue May 13, 2021 · 0 comments · Fixed by #406
Closed
Tracked by #405 ...

Add support for @nuxtjs/axios module. #63

Decipher opened this issue May 13, 2021 · 0 comments · Fixed by #406
Labels
enhancement New feature or request module: druxt Related to the `druxt` module

Comments

@Decipher
Copy link
Member

Is your feature request related to a problem? Please describe.
It's difficult to customize the Druxt Axios instance for things like Authentication.

Describe the solution you'd like

  • Make the DruxtClient instance of Axios configurable.
  • Use the @nuxtjs/axios instance when it's present, or make it a dependency of the Nuxt module.

Describe alternatives you've considered
N/A

Additional context
The @nuxtjs/auth-next module interfaces with the @nuxtjs/axios module, handling Bearer token and token refresh functionality.

@Decipher Decipher added the enhancement New feature or request label May 13, 2021
Decipher added a commit that referenced this issue May 13, 2021
Decipher added a commit that referenced this issue May 13, 2021
Decipher added a commit that referenced this issue Jul 21, 2021
Decipher added a commit that referenced this issue Jul 21, 2021
@Decipher Decipher added the module: druxt Related to the `druxt` module label Aug 26, 2021
Decipher added a commit that referenced this issue Sep 11, 2021
Decipher added a commit that referenced this issue Sep 11, 2021
Decipher added a commit that referenced this issue Sep 11, 2021
Decipher added a commit that referenced this issue Sep 11, 2021
Decipher added a commit that referenced this issue Sep 11, 2021
Decipher added a commit that referenced this issue Sep 11, 2021
Decipher added a commit that referenced this issue Sep 18, 2021
Decipher added a commit that referenced this issue Sep 18, 2021
Decipher added a commit that referenced this issue Dec 15, 2021
Decipher added a commit that referenced this issue Dec 15, 2021
Decipher added a commit that referenced this issue Dec 27, 2021
Decipher added a commit that referenced this issue Dec 27, 2021
Decipher added a commit that referenced this issue Feb 16, 2022
Decipher added a commit that referenced this issue Feb 16, 2022
Decipher added a commit that referenced this issue Feb 16, 2022
Decipher added a commit that referenced this issue Feb 16, 2022
Decipher added a commit that referenced this issue Feb 16, 2022
Decipher added a commit that referenced this issue Feb 21, 2022
@Decipher Decipher mentioned this issue Feb 23, 2022
6 tasks
Decipher added a commit that referenced this issue Feb 23, 2022
* feat(#63): add support for @nuxtjs/axios

* chore(#63): fix test

* chore(#63): update test coverage

* chore(#63): update axios

* chore(#63): improve code coverage

* feat(#63): add axios if no druxt axios settings

* chore(#63): add quickstarts, axios and auth links
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module: druxt Related to the `druxt` module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant