FLUTTER ECOSYSTEM

oidc

A comprehensive OpenIdConnect plugin that works on all platforms (android, ios, windows, linux, web, macos)

Latest version
5.0.2
30-day downloads
35.7K
Likes
51
Pub points
155

Package Overview

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

Overview

The oidc package is a comprehensive OpenID Connect plugin designed for Flutter applications, offering cross-platform authentication support across Android, iOS, Web, macOS, Windows, and Linux. It enables secure user authentication using the OpenID Connect protocol, simplifying integration with identity providers. The plugin handles token management, session handling, and authorization flows seamlessly, ensuring consistent behavior regardless of platform. Built with developer experience in mind, it supports modern authentication workflows like PKCE and provides clear APIs for customization.

Use cases
  • Secure login with identity providers
  • Cross-platform authentication
  • Single sign-on implementation
  • User session management
  • Integration with OAuth2/OIDC servers
  • Web and mobile app authentication
Key features
  • Full platform support (Android, iOS, Web, macOS, Windows, Linux)
  • Built-in PKCE support
  • Token refresh and storage management
  • Easy integration with OIDC providers
  • Consistent API across platforms
  • Secure credential handling
Suitable for
  • Flutter apps requiring secure authentication
  • Developers building multi-platform apps
  • Projects using OpenID Connect or OAuth2
  • Teams integrating with enterprise identity providers
  • Apps needing SSO capabilities
Considerations
  • Requires proper configuration of OIDC provider
  • May need additional setup for custom domains or scopes
  • Depends on underlying platform's web view or native auth flow
  • Not suitable for non-OIDC authentication systems
  • Limited to OAuth2/OIDC-based identity providers
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add oidc

Categories

Dependencies

Dependency list 8 items
  • jose_plus^1.0.1
  • oidc_android^3.0.1
  • oidc_core^4.0.0
  • oidc_darwin^1.1.3
  • oidc_linux^1.0.4
  • oidc_platform_interface^1.0.4
  • oidc_web^1.0.5
  • oidc_windows^1.0.4

Source repository

Related projects