# witoldsz/angular-http-auth

Repository: https://github.com/witoldsz/angular-http-auth
Canonical: https://ross.abutalabs.com/products/angular-http-auth
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2017-10-03T20:59:39+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5132, "days_push": 3256, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2378, forks 403 (observed 2026-08-28T04:06:42.186496+00:00)

## What it is
An AngularJS module that installs an $http interceptor to buffer requests failing with HTTP 401 and broadcast login-required events, plus an authService to retry or cancel buffered requests after login. It also handles HTTP 403 responses with an auth-forbidden event.

## Use cases
- show a login dialog when an API call returns 401 without redirecting
- retry buffered HTTP requests after the user logs in
- handle 403 forbidden responses with a custom event
- skip auth interception for specific requests like the login endpoint
- cancel pending requests when a session is invalidated

## When to choose
- you maintain a legacy AngularJS 1.x app needing 401 buffering and login-event handling

## When to avoid
- you use modern Angular (2+) or any other framework
- starting a new project, since the library has not been updated since 2017

## Facets
- artifact type: library
- maturity: abandoned
- function: auth, middleware, http-client
- domain: web-development, frontend, security
- platform: browser
- tags: angularjs, http-interceptor, 401-handling, login-flow, bower, nodejs

## Member repositories
- witoldsz/angular-http-auth (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:42.186496+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:34:54.880437+00:00, confidence not recorded.
  - readme: https://github.com/witoldsz/angular-http-auth (fetched 2026-08-28T04:06:42.186496+00:00, sha 9afcbc3bcd7c)
  - registry_npm: https://registry.npmjs.org/angular-http-auth (fetched 2026-08-29T10:16:05.695375+00:00, sha 4be211b3fbc5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
