FLUTTER ECOSYSTEM

oidc_core

A dart package containing models and helpers for OpenId Connect spec.

Latest version
4.0.0
30-day downloads
38.1K
Likes
3
Pub points
135

Package Overview

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

Overview

oidc_core is a Dart package providing essential models and utility functions for implementing OpenID Connect (OIDC) protocols in Flutter applications. It supports secure authentication flows by offering structured representations of OIDC entities such as tokens, claims, and endpoints. Designed for developers integrating identity providers like Google, Auth0, or custom OIDC servers, it simplifies token handling, validation, and session management. The package is platform-agnostic, supporting Android, iOS, macOS, Windows, and Linux, making it ideal for cross-platform apps requiring standardized identity verification.

Use cases
  • Integrating with OIDC-compliant identity providers
  • Handling ID and access tokens securely
  • Implementing login and logout flows
  • Validating JWT claims
  • Managing user sessions across platforms
Key features
  • Predefined models for OIDC tokens and claims
  • Helpers for JWT decoding and validation
  • Support for standard OIDC flows
  • Cross-platform compatibility
  • Lightweight and dependency-minimal
Suitable for
  • Flutter apps needing secure authentication
  • Developers building OIDC client integrations
  • Projects using OAuth2 with OpenID Connect
  • Teams adopting standardized identity protocols
Considerations
  • Requires external implementation of HTTP clients and storage
  • Not a full authentication SDK—complements other packages
  • Manual handling of state and redirects needed
  • Best used with additional UI or auth flow packages
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add oidc_core

Categories

Dependencies

Dependency list 11 items

Source repository

Related projects

No data available yet.