Labsco
auth0 logo

auth0-react-native

37

by auth0 · part of auth0/agent-skills

Use when adding authentication to React Native or Expo mobile apps (iOS/Android) with biometric support - integrates react-native-auth0 SDK with native deep…

🔥🔥🔥🔥✓ VerifiedFreeQuick setup
🧩 One of 7 skills in the auth0/agent-skills package — works on its own, and pairs well with its siblings.

Use when adding authentication to React Native or Expo mobile apps (iOS/Android) with biometric support - integrates react-native-auth0 SDK with native deep…

Inspect the full instructions your agent will receiveExpand

This is the exact playbook injected into your agent when the skill activates — shown here so you can audit it before installing. You don't need to read it to use the skill.

by auth0

Use when adding authentication to React Native or Expo mobile apps (iOS/Android) with biometric support - integrates react-native-auth0 SDK with native deep… npx skills add https://github.com/auth0/agent-skills --skill auth0-react-native Download ZIPGitHub37

Auth0 React Native Integration

Add authentication to React Native and Expo mobile applications using react-native-auth0.

When NOT to Use

  • Expo managed workflow - Use auth0-expo skill for Expo apps with config plugin

  • React web applications - Use auth0-react skill for SPAs (Vite/CRA)

  • React Server Components - Use auth0-nextjs for Next.js applications

  • Non-React native apps - Use platform-specific SDKs (Swift for iOS, Kotlin for Android)

  • Backend APIs - Use JWT validation libraries for your server language

Detailed Documentation

  • Setup Guide - Automated setup, native configuration, deep linking

  • Patterns Guide - Secure storage, biometric auth, token refresh

  • API Reference - Complete SDK API, methods, configuration options

Related Skills

  • auth0-quickstart - Basic Auth0 setup

  • auth0-migration - Migrate from another auth provider

  • auth0-mfa - Add Multi-Factor Authentication

  • auth0-cli - Manage Auth0 resources from the terminal

Quick Reference

Core Hook API:

  • useAuth0() - Main hook for authentication

  • authorize() - Initiate login

  • clearSession() - Logout

  • user - User profile object

  • getCredentials() - Get tokens for API calls

  • isLoading - Loading state

Common Use Cases:

  • Login/Logout → See Step 5 above

  • Secure token storage → Automatic with Auth0Provider

  • Biometric authentication → Patterns Guide

  • API calls with tokens → Patterns Guide

  • Token refresh → Automatic with getCredentials()

References