mjrussell/redux-auth-wrapper
A React Higher Order Component (HOC) for handling Authentication and Authorization with Routing and Redux observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3880
- days_rel: n/a
- days_push: 885
- n_releases_24m: 0
Adoption not part of the score
2175 stars · 231 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
redux-auth-wrapper is a React Higher Order Component (HOC) library for handling authentication and authorization in React + Redux applications. It decouples auth logic from components, integrating with React Router to protect routes and redirect unauthenticated or unauthorized users.
Use cases
- protect react router routes so only logged-in users can access them
- redirect unauthenticated users to a login page and return them after login
- hide or block components based on user permissions or roles
- handle jwt-based authentication flows in a react redux app
- decouple authentication and authorization logic from ui components
- guard admin-only pages in a react + redux application
When to choose
- you use React with Redux and React Router and want declarative route-level auth guards
- you want to keep auth/authorization logic out of your components via HOCs
- you need redirect handling for unauthenticated or unauthorized users
- you're on React >= 16.3 with react-router v4/v5 and connected-react-router
When to avoid
- you don't use Redux or React Router in your app
- you're starting a new project and want a more actively maintained auth solution
- you need full auth backend features like token issuance or session management (this is client-side only)
- you're on React Router v6, which is not supported by this library
Facets
library · maturity maintenance
auth authorization routing middleware state-management web-development frontend security developer-tools browser react redux react-router hoc higher-order-component jwt route-protection redirect nodejs javascript
3 sources
- readme: https://github.com/mjrussell/redux-auth-wrapper · fetched 2026-08-28 · eb59c349ff4d
- homepage: https://mjrussell.github.io/redux-auth-wrapper · fetched 2026-08-29 · 67a863eda440
- registry_npm: https://registry.npmjs.org/redux-auth-wrapper · fetched 2026-08-29 · c2cb3b0d75eb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mjrussell/redux-auth-wrapper | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="mjrussell/redux-auth-wrapper")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem