# fnakstad/angular-client-side-auth

One way to implement authentication/authorization in Angular applications

Repository: https://github.com/fnakstad/angular-client-side-auth
Canonical: https://ross.abutalabs.com/products/angular-client-side-auth
Homepage: http://angular-client-side-auth.herokuapp.com/
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2014-11-23T09:56:12+00:00

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

## Adoption (not part of the score)
Stars 1611, forks 339 (observed 2026-08-28T04:05:10.972239+00:00)

## What it is
An example application demonstrating one approach to implementing authentication and authorization in AngularJS single-page applications, backed by a Node.js server using Passport. It includes social login support for Twitter, Facebook, Google, and LinkedIn.

## Use cases
- implement authentication in an Angular single-page app
- learn how to do client-side authorization with AngularJS
- add social login with Twitter, Facebook, or Google to an Angular app
- see how to secure routes in a SPA with UI-router
- set up Passport-based auth with a Node.js backend

## When to choose
- you are working with legacy AngularJS (1.x) applications
- you want a reference example of SPA authentication patterns
- you need to understand client-side role-based access control concepts

## When to avoid
- you are building with modern Angular (2+) or other current frameworks
- you need a production-ready, maintained authentication library
- you require up-to-date security practices, as the project has not been updated since 2014

## Facets
- artifact type: learning-resource
- maturity: abandoned
- function: auth, authorization, web-framework
- domain: web-development, security, developer-tools
- platform: -
- tags: angularjs, passport, oauth, single-page-applications, example-app, ui-router, social-login, nodejs, javascript, web-server

## Member repositories
- fnakstad/angular-client-side-auth (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:10.972239+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-30T03:51:11.703991+00:00, confidence not recorded.
  - readme: https://github.com/fnakstad/angular-client-side-auth (fetched 2026-08-28T04:05:10.972239+00:00, sha 5e4f2837fe61)
- Data as of 2026-08-30T08:39:29.467469+00:00.
