-
Notifications
You must be signed in to change notification settings - Fork 222
Description
Hi! thanx for the book and the material, it's been really helpfull.
I was just following the ebook and "translating" it into "ui-router way", I think it's far more easier.
Well, the problem is that I created the User CRM and the replicated almost the same for a bikes model. Everything is ok in the public routes, but once I'm under /api route if I navigate trough the buttons is ok. But when I push
app comp.zip
the url from the browser for example: localhost:8080/api/bikes it responds : "success": false, "message": "No token provided
There's a Token, I checked it out in dev tools and works fine in POSTMAN.
NOTE: My front.routes.js is pointing to the very same url: /api/bikes. If not it allows to enter to the non logged in users.
I guess the problem is that the interceptor it's not being triggered so I doesn't catch the token. And I don't know why is not being triggered and neither how force to do so.
@sevilayha I hope you can help me. I allways follow your posts :)
Please have a look I spent almost a week and couldn't find the way out. :(
I attached here the involved files. Anything you need just let me know.
Thanx again.
app comp.zip