Search packages, repositories and app categories

Package detailsv4.0.0

oidc_core

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

AndroidiOSmacOSWindowsLinux
30-day downloads
34.5K
Likes
3
Pub points
135

Install package

flutter pub add oidc_core

Package Overview

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

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

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

oidc

openid certification

melos codecov style: very good analysis License: MIT

The most comprehensive OpenIdConnect package for dart.

This is a Mono repo of multiple packages:

  • oidc_core: The main dart package, it implements the basic openid/oauth specification, except the platform specific parts (like redirection)
  • oidc: builds on top of oidc_core, and adds platform-specific parts, this also contains the UserManager class.
  • oidc_default_store: the default OidcStore store implementation.
  • oidc_cli: a provider-agnostic CLI for authenticating against an OIDC provider.

Make sure you read the Static Badge for extra information.

Code Coverage graph

coverage_graph


Generated by the Very Good CLI 🤖

Categories

Dependencies

Dependency list 11 items

Source repository

Projects using this package

No data available yet.