# ramosbugs/oauth2-rs

Extensible, strongly-typed Rust OAuth2 client library

Repository: https://github.com/ramosbugs/oauth2-rs
Canonical: https://ross.abutalabs.com/products/oauth2-rs
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: oauth2, pkce, rust
Last push: 2026-02-22T23:22:25+00:00

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

## Adoption (not part of the score)
Stars 1203, forks 212 (observed 2026-08-28T04:03:58.721124+00:00)

## What it is
An extensible, strongly-typed Rust implementation of the OAuth2 protocol (RFC 6749). It provides a client library for OAuth2 authorization flows, including PKCE support, and serves as the foundation for the openidconnect crate.

## Use cases
- implement OAuth2 login in a Rust application
- add PKCE authorization code flow to a CLI tool
- authenticate against an OAuth2 provider from a backend service
- build single sign-on integration in Rust
- exchange authorization codes for access tokens
- implement social login without full OpenID Connect

## When to choose
- you need a type-safe, standards-compliant OAuth2 client in Rust
- you want a minimal library without OpenID Connect overhead
- you need PKCE support for public clients
- you want to build OpenID Connect support on top of OAuth2

## When to avoid
- you need OpenID Connect features like ID token validation - use the openidconnect crate instead
- you need an OAuth2 server/provider implementation
- you are not working in Rust

## Facets
- artifact type: library
- maturity: stable
- function: auth, http-client, security
- domain: security, web-development, apis
- platform: rust
- tags: oauth2, pkce, rfc6749, authentication

## Member repositories
- ramosbugs/oauth2-rs (main) score 53

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:58.721124+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-30T06:20:32.079065+00:00, confidence not recorded.
  - readme: https://github.com/ramosbugs/oauth2-rs (fetched 2026-08-28T04:03:58.721124+00:00, sha ace4d1704f09)
- Data as of 2026-08-30T08:39:29.467469+00:00.
