p2/OAuth2
OAuth2 framework for macOS and iOS, written in Swift. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
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: 4471
- days_rel: n/a
- days_push: 839
- n_releases_24m: 0
Adoption not part of the score
1178 stars · 282 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Swift framework implementing the OAuth2 protocol for macOS, iOS, and tvOS apps. It supports all OAuth2 flows including code grant, with keychain integration and configurable client settings.
Use cases
- add oauth2 login to an ios app
- authenticate a macos app against github
- implement authorization code grant flow in swift
- handle oauth token storage in the keychain
- connect a tvos app to an oauth2 provider
- use universal links as oauth redirect uris
When to choose
- building a native Apple-platform app that needs OAuth2 authentication
- you want keychain-backed token storage out of the box
- you need support for multiple OAuth2 grant types in Swift
When to avoid
- you need OAuth for a non-Apple platform
- you need OIDC features beyond plain OAuth2
- your project targets Swift versions older than 5
Facets
library · maturity maintenance
auth http-client security mobile-development web-development developer-tools oauth2-client tvos keychain apple-platforms authorization-flows ios macos swift
1 source
- readme: https://github.com/p2/OAuth2 · fetched 2026-08-28 · cd2c89aa90bc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| p2/OAuth2 | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem