FLUTTER ECOSYSTEM

oauth_dio

A customizable oauth client with token storage and interceptors for dio

Latest version
0.2.9
30-day downloads
466
Likes
58
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

oauth_dio is a customizable OAuth client for Dart and Flutter applications, built on top of the Dio HTTP client. It provides seamless token management, automatic token refresh, and interceptors to handle authentication flows. The package supports secure token storage and integrates smoothly with existing Dio configurations. Ideal for apps requiring OAuth2 or similar authentication protocols across multiple platforms.

Use cases
  • Integrating OAuth2 login flows
  • Automatically refreshing expired tokens
  • Securing API requests with bearer tokens
  • Handling authentication headers in HTTP calls
  • Building secure REST clients with auth
Key features
  • Token storage and retrieval
  • Automatic token refresh
  • Dio-based interceptors
  • Customizable OAuth configuration
  • Cross-platform support
Suitable for
  • Flutter apps using Dio
  • Applications with OAuth2 authentication
  • Developers needing secure token handling
  • Multi-platform apps requiring consistent auth
  • Projects wanting minimal boilerplate for auth
Considerations
  • Requires Dio to be set up
  • Needs proper token storage setup
  • May require custom logic for complex flows
  • Depends on external OAuth provider
  • Limited to OAuth2-style flows
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add oauth_dio

Categories

Dependencies

Dependency list 1 items

Source repository

Related projects

No data available yet.