Attached _after_ the interceptor?? Holy hole in a donut, Batman! Well this is my 1st app using JWT tokens, and I'm using an interceptor to attach the token to each call
All of my server calls specify an error handler that asks for a login if the error is 401 - then they reload the page I've dozens of calls to the server, mostly $resource calls -- what do you suggest ? Where are the rest of the headers added, certainly there must be a bottleneck somewhere after that!! Damn!! Al; On Wednesday, June 24, 2015 at 3:45:51 AM UTC-4, Sander Elias wrote: > > Hi Al, > > Probably those headers get attached after your interceptor. Can't you just > get the token in the part of your app that does the authorization? > > Regards > Sander > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
