qmetrics.net

AppAuth iOS

OAuth 2.0 and OpenID Connect client SDK for Apple platforms

AppAuth iOS screenshot

AppAuth implements native OAuth 2.0 and OpenID Connect flows for iOS, macOS, and tvOS with PKCE, token refresh helpers, and RFC 8252-oriented browser agents.

Overview

AppAuth for iOS and macOS is a client library for talking to OAuth 2.0 and OpenID Connect providers. It maps protocol requests and responses closely while following familiar patterns for Objective-C and Swift callers, and adds convenience APIs for tasks such as calling backends with up-to-date access tokens.

On iOS it follows native-app guidance from RFC 8252, using system browser flows such as ASWebAuthenticationSession rather than embedded web views called out as unsupported for security reasons. PKCE is applied when exchanging authorization codes in public clients. Additional protocol parameters can be carried through standard and custom extensions.

macOS builds support custom URI schemes and loopback HTTP redirects managed by a small embedded redirect handler. tvOS support centers on the device authorization grant so users can sign in on TV by completing authorization on another device.

Developers integrate via Swift Package Manager, Carthage, or static linking, choosing full AppAuth, core-only AppAuthCore for extensions, or AppAuthTV for TV flows. OIDAuthState tracks tokens and refresh state so sessions can be persisted across app launches.

Key features

  • OAuth 2.0 and OpenID Connect client flows
  • PKCE for public native clients
  • OIDAuthState token and refresh tracking
  • ASWebAuthenticationSession on iOS
  • Loopback HTTP redirects on macOS
  • tvOS device authorization grant
  • Swift Package Manager and Carthage distribution
  • Custom external user-agent hooks

Use cases

  • Native iOS app login with OIDC
  • macOS desktop OAuth with loopback redirect
  • tvOS sign-in via secondary device approval
  • Extension-friendly core-only integration

Tags

Similar software

Keycloak

Identity and access management for applications and services

Keycloak adds authentication and single sign-on to applications so they do not store or verify users themselves. It supports standard protocols and central admin tools.

★ 38.1k⟳ todayApache-2.0
Open Source Alternative to:Amazon CognitoAuth0+7

JumpServer

Open-source bastion host for privileged access

JumpServer is a privileged access management platform that unifies secure access to SSH, RDP, Kubernetes, databases, and web assets.

★ 32.1k⟳ yesterdayGPL-3.0
Open Source Alternative to:BeyondTrust

Better Auth

Composable TypeScript authentication and authorization framework

Better Auth is a framework-agnostic authentication and authorization framework for TypeScript. You configure it in code and extend it with plugins for flows like social login, organizations, and enterprise SSO.

★ 30.9k⟳ todayMIT
Open Source Alternative to:Stytch

Infisical

Open-source security infrastructure for secrets, certs, and access

Infisical is a security infrastructure platform where teams manage application secrets, certificates, privileged access, and AI agent credentials in one place.

★ 30.8k⟳ todayMIT · open core
Secrets ManagementSelf-hostable
Open Source Alternative to:Keeper

Authelia

Self-hosted SSO portal with multi-factor authentication

Authentication and authorization server that sits in front of reverse proxies. Provides a web portal for login, OpenID Connect, and granular access rules with several second-factor methods.

★ 29.8k⟳ todayApache-2.0
Open Source Alternative to:Amazon CognitoAuth0+2

NextAuth

Web authentication libraries for JavaScript frameworks

Auth.js (NextAuth) adds sign-in, sessions, and OAuth to modern JavaScript apps. Packages target Next.js, SvelteKit, Express, Qwik, and other runtimes.

★ 28.4k⟳ 4 months agoISC