# FormidableLabs/react-native-app-auth

React native bridge for AppAuth - an SDK for communicating with OAuth2 providers

Repository: https://github.com/FormidableLabs/react-native-app-auth
Canonical: https://ross.abutalabs.com/products/react-native-app-auth
Homepage: https://commerce.nearform.com/open-source/react-native-app-auth
Language: Java
License: MIT
License Family: permissive
Last push: 2026-07-06T16:04:08+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 91, release rhythm 80, longevity 100
- inputs: {"age_days": 3215, "days_push": 58, "days_rel": 58, "gap_med": 72, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2254, forks 472 (observed 2026-08-28T04:06:31.215244+00:00)

## What it is
A React Native bridge around the native AppAuth-iOS and AppAuth-Android SDKs for communicating with OAuth 2.0 and OpenID Connect providers. It supports the Authorization Code Flow with PKCE and works with any OAuth2-compliant provider, including Google, Okta, Keycloak, Azure AD, and AWS Cognito.

## Use cases
- add oauth2 login to a react native app
- authenticate users with openid connect on ios and android
- implement pkce authorization code flow in react native
- sign in with google or azure ad in a mobile app
- connect a react native app to keycloak or okta
- handle oauth token refresh and revocation in react native

## When to choose
- you need standards-compliant OAuth2/OpenID Connect authentication in a React Native app
- you want to use native AppAuth libraries with PKCE support
- your provider implements the OAuth2 spec and you want autodiscovery for OpenID providers

## When to avoid
- you need grant types other than the Authorization Code Flow, such as client credentials or password grants
- your project is not React Native (use the native AppAuth SDKs directly)
- you need a pure JavaScript OAuth implementation without native modules

## Facets
- artifact type: library
- maturity: active
- function: auth, sdk, mobile-framework
- domain: mobile-development, security, apis
- platform: cross-platform
- tags: oauth2, openid-connect, pkce, appauth, react-native, authentication, expo, ios, android, mobile

## Member repositories
- FormidableLabs/react-native-app-auth (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:31.215244+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-30T02:43:45.726334+00:00, confidence not recorded.
  - readme: https://github.com/FormidableLabs/react-native-app-auth (fetched 2026-08-28T04:06:31.215244+00:00, sha 84378ccf0836)
  - homepage: https://commerce.nearform.com/open-source/react-native-app-auth (fetched 2026-08-29T10:23:44.893301+00:00, sha d1aaa77b8018)
  - site_page: https://nearform.com/open-source/react-native-app-auth/docs (fetched 2026-08-29T10:23:44.896244+00:00, sha 3cd8f371c94c)
  - site_page: https://nearform.com/open-source/react-native-app-auth/docs/category/providers (fetched 2026-08-29T10:23:44.899178+00:00, sha 65d05aceb55f)
  - site_page: https://commerce.nearform.com/open-source/urql (fetched 2026-08-29T10:23:44.901494+00:00, sha c69a9839f17d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
