Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Use axios interceptors to send JWT token #3

@Stefano1990

Description

@Stefano1990

Wouldn't it make sense to check if there is a jwt token (or some other type of authorisation token) in the cookie or session in the axios.js boot file to send this with every request?

Otherwise every additional store has to manually set the JWT token header on axios before every api request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions