angular-http-auth
angular-http-auth copied to clipboard
Hello! First, I'd like to say thanks for creating this project! It's saved me a lot of time and is (almost) perfect for my needs. In my particular scenario, I'd...
Work in progress: - [x] Add Karma test runner - [x] Refactor injected interceptor to a separate service (`requestService`) for easier testing - [x] Test that injecting said service works...
Hello! First of all good job on the interceptor :) I have a scenario wherein i have multiple 401 response from my server and each 401 response is intercepted by...
Add unit tests. The tests are far from complete, but can easily be extended to more features by mostly copy and paste code from this PR. Any comments are appreciated...
I am not sure if this issue at all but something to discuss atleast. What is the case of $http.defaults.headers.common? I put my auth-token in there on successful login, then...
It certainly has been useful for me when working with tokens. Are people wary of supporting a non-standard status code like 419? ``` javascript .config(['$httpProvider', function($httpProvider) { $httpProvider.interceptors.push(['$rootScope', '$q', 'httpBuffer',...
Hi, Thanks for the code, this was the most well done version of this interceptor I found. Just wanted to suggest one small change: How do you feel changing authService...
I'm trying to write some end-to-end tests for my application which uses this module. My problem is that Protractor waits for all `$http` requests to finish before running the tests....
Maybe you tell me examples of implementation? Thanks.
Hi, Any ideas how this would all work with a redirection-based SSO protocol like CAS? In these systems, the login takes place on a page served by the IDP website...