Search Posts

Category: auth0

Errors initiating Angular Authentication using JWTs and jwtInterceptor

Currently, I am running Angular 1.6.6. and Angular-jwt 0.1.9. I am following the examples from the READ.me file of Angular-jwt as well from the auth0 site here “How can I send the JWT on every request to the server?”. The two examples vary slightly. The angular-jwt docs uses jwtOptionsProvider and the auth0 example uses jwtInterceptorProvider in the .config section for the angular controller. When I run this code the browser console states: “Failed to instantiate […]