-
Notifications
You must be signed in to change notification settings - Fork 95
Closed
Description
Hi,
I was wondering how I could easily setup an interceptor that adds to requests headers an Authorization token excepted for some (like the one used to retrieve the token, etc..).
I'm asking you this since I couldn't find any way that allows the request intereceptor to get the proper action.
interceptors : {
request: [({ getState, dispatch, action }, config) => {
No matter what action is performed, only the first one called will persist here (in my case the AUTH action if i'm not already signed in).
I've read on different issue that this is related to the client instance, but honestly I'm totally lost now and I can't figure out what to do.
I'd really appreciate some help!
Thank for your great work too!
Regards,
Metadata
Metadata
Assignees
Labels
No labels