FLUTTER ECOSYSTEM

openid_client

Library for working with OpenID Connect and implementing clients.

Latest version
0.4.10+2
30-day downloads
12.8K
Likes
104
Pub points
150

Package Overview

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

Overview

A Flutter/Dart package for implementing OpenID Connect clients, enabling secure authentication with identity providers. It supports OAuth 2.0 flows, token management, and discovery of provider configurations via well-known endpoints. The library simplifies integration with services like Google, Auth0, or custom Identity Providers by handling complex authentication workflows, including authorization code flow with PKCE. Designed for cross-platform use, it works seamlessly across Android, iOS, Web, macOS, Windows, and Linux. Ideal for apps requiring standardized, secure user authentication.

Use cases
  • Integrating with OpenID Connect identity providers
  • Implementing secure login flows in mobile and web apps
  • Managing OAuth 2.0 tokens and sessions
  • Supporting single sign-on (SSO) scenarios
  • Building authenticated Flutter applications with external identity providers
Key features
  • Supports OpenID Connect and OAuth 2.0 flows
  • Automatic discovery of provider configuration
  • PKCE support for enhanced security
  • Cross-platform compatibility
  • Token storage and refresh handling
  • Well-documented API and examples
Suitable for
  • Developers building secure Flutter apps with external auth
  • Teams using OpenID Connect providers
  • Apps requiring SSO or federated identity
  • Projects needing robust token lifecycle management
Considerations
  • Requires understanding of OpenID Connect concepts
  • Needs proper configuration of identity provider settings
  • May require additional setup for custom domains or scopes
  • Not suitable for server-side authentication directly
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add openid_client

Categories

Dependencies

Dependency list 8 items

Source repository

Related projects