skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

auth0-swift

Add authentication to iOS, macOS, tvOS, watchOS, or visionOS apps using Swift.

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/auth0/agent-skills --skill auth0-swift

Overview

What This Skill Does

Auth0.swift is the official Auth0 SDK for Apple platforms (iOS, macOS, tvOS, watchOS, visionOS). This skill adds complete native authentication to Swift apps using Web Auth (system browser redirect), secure Keychain credential storage via `CredentialsManager`, and optional biometric protection. #

Application

When to use this Skill

Documentation

Show Skills.md file

Auth0 Swift Integration

Auth0.swift is the official Auth0 SDK for Apple platforms (iOS, macOS, tvOS, watchOS, visionOS). This skill adds complete native authentication to Swift apps using Web Auth (system browser redirect), secure Keychain credential storage via CredentialsManager, and optional biometric protection.

When NOT to Use

Prerequisites

  • iOS 14.0+ / macOS 11.0+ / tvOS 14.0+ / watchOS 7.0+ / visionOS 1.0+
  • Xcode 16.x
  • Swift 6.0+
  • Auth0 account — Sign up free
  • Auth0 CLI — brew install auth0/auth0-cli/auth0 (for automated setup)

Quick Start Workflow

Agent instruction: Follow these steps in order. If you encounter an error at any step, attempt to fix it up to 5 times before calling AskUserQuestion to ask the user for guidance. Always search existing code first — if there are existing login/logout handlers, hook into them rather than creating new ones.

IMPORTANT — Credential privacy: Never echo Auth0 credentials (domain, client ID, client secret) in your response text or terminal output. Write them directly into config files using the Write or Edit tool. When running Auth0 CLI commands that produce output containing these values, redirect output to a file and read it programmatically. For example:

Lines 1 - 25 of 279

Recommendations

Explore other random skills

All skillsMy patterns