Open
Description
I'm trying to include JWT ( http://jwt.io/ ) token authentication in the boilerplate.
Let's pretend for a second that the autentication process serverside is already there.
What I do is calling API/login passing username and password and I return a token. From that point on, I'd like the middleware to attach this to every http calls.
headers: {
'Authorization': `Bearer *TOKEN* `
}
Where TOKEN is this.store.token variable defined in the redux auth.js.
How can I do that ?