Labsco
auth0 logo

auth0-flutter-web

37

by auth0 · part of auth0/agent-skills

Use when adding Auth0 login or logout to a Flutter web application. Integrates auth0_flutter on the web platform — use even if the user says "add login to my Flutter web app".

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

This is the playbook your agent receives when the skill activates — you don't need to read it to use the skill, but it's here to audit before installing.

Auth0 Flutter Web Integration

auth0_flutter is the official Auth0 SDK for Flutter applications. On the web platform, it wraps the Auth0 SPA JS SDK to provide browser-based authentication via redirect or popup flows with built-in credential caching and automatic token renewal.

Agent instruction: The current SDK version is 2.1.0. Use this version in all dependency lines below. If you need to verify, run flutter pub add auth0_flutter which will resolve the latest compatible version automatically.

When NOT to Use

Detailed Documentation

  • Setup Guide — Auth0 application creation via the Auth0 CLI, web/index.html setup, callback URL registration
  • Integration Patterns — Redirect login, popup login, credential management, state management patterns, organization support, error handling
  • API Reference & Testing — Full API reference, configuration options, claims reference, testing checklist, troubleshooting

References