Skip to content
CAI
Software that uses CAICheck a score

erlef/oidcc

67.0

Adequate · 15 November 2026

9.7k

lines of production code

Erlang

with Elixir

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add branded SVG assets and license files

Added SVG logo assets for the project (logo.svg), the OpenID Foundation certification mark (certified-light.svg, certified-dark.svg), and the Erlang Ecosystem Foundation logo (erlef-logo-light.svg, erlef-logo-dark.svg), along with corresponding SPDX license files to ensure REUSE compliance.

assets · high confidence

Introduce Elixir wrapper modules for core OIDC operations

The library adds a set of new Elixir modules (\Oidcc.Authorization\, \Oidcc.ClientContext\, \Oidcc.ClientRegistration\, \Oidcc.Logout\, \Oidcc.ProviderConfiguration\, \Oidcc.Token\, \Oidcc.TokenIntrospection\, and \Oidcc.Userinfo\) that wrap the underlying Erlang \oidcc\ functions. These modules provide idiomatic Elixir structs for client contexts, tokens, and provider configurations, and expose telemetry events for key lifecycle stages such as authorization redirects, token retrieval, and logout initiation.

lib/oidcc · high confidence

Introduction of high-level Oidcc wrapper module

A new \Oidcc\ module has been added to provide a high-level interface for OpenID Connect operations. This module exposes convenience functions for creating authorization redirect URLs, retrieving tokens via authorization codes, refreshing tokens, and introspecting access tokens. It acts as a facade over the underlying \:oidcc\ library, handling token normalization and providing a unified API for client authentication and token management.

lib · high confidence

New Erlang record definitions for OIDC provider configuration, client context, and token structures

The library introduces a set of new Erlang header files in the include directory to define the core data structures for OpenID Connect operations. These include \oidcc\_provider\_configuration.hrl\ for mapping provider metadata (such as endpoints, supported algorithms, and capabilities like JARM, DPoP, and PAR), \oidcc\_client\_registration.hrl\ for client metadata and registration responses, \oidcc\_client\_context.hrl\ for managing client state and keys, and \oidcc\_token.hrl\ along with \oidcc\_token\_introspection.hrl\ for representing access, ID, and refresh tokens as well as introspection results. A master header \oidcc.hrl\ is also added to aggregate these includes, providing a unified entry point for developers using the library.

include · high confidence

New Provider Configuration Worker API

A new \Oidcc.ProviderConfiguration.Worker\ module has been added to provide a GenServer-based interface for loading and continuously refreshing OIDC provider configuration and JWKs. Users can now start the worker via \start\_link/1\ with an issuer and optional configuration options, and retrieve the current configuration or JWKs using \get\_provider\_configuration/1\ and \get\_jwks/1\. The worker also supports manual refresh operations via \refresh\_configuration/1\, \refresh\_jwks/1\, and \refresh\_jwks\_for\_unknown\_kid/2\ to handle key rotation or unknown key IDs.

_lib/oidcc/provider\configuration · high confidence

New mix task to generate OpenID Connect provider configuration workers

A new Mix task, \oidcc.gen.provider\_configuration\_worker\, is now available to scaffold an OpenID Connect provider configuration worker. When invoked with options like \--name\ and \--issuer\, it automatically adds the worker to the application's supervision tree and configures the issuer in \runtime.exs\, supporting both static values and environment variables. If the \igniter\ dependency is not installed, the task provides a clear error message directing users to install it.

lib/mix · high confidence

OIDCC library v3.9.0 initial release

The OpenID Connect client library for the BEAM is released as version 3.9.0. This release introduces a pluggable HTTP adapter architecture, allowing users to swap the default \httpc\ transport for custom implementations via the \http\_adapter\ request option. It also adds support for OpenID Connect Dynamic Client Registration, JARM (JWT Secured Authorization Response Mode), and DPoP (Demonstrating Proof of Possession). The library now uses OTP's built-in JSON module instead of \jose\/\jsx\ for decoding, and requires OTP 27 and Elixir 1.17.

src · high confidence

Behavioural changes

OIDC certification testing now uses OIDCerto-based plug implementation

The certification suite has been updated to use an OIDCerto-based implementation via the \oidcc\_plug\ library, replacing the previous approach. This change introduces a new \config.json\ defining specific test plans (such as Basic, Comprehensive, and RP Initiated Logout) and an \implementation\_plug.exs\ script that manages the conformance test server lifecycle, including client registration and server startup. The implementation allows overriding the \oidcc\_plug\ version via the \OIDCC\_PLUG\_VERSION\ environment variable to test against unreleased branches or specific Hex versions.

certification · high confidence

Project refactored for Erlang Ecosystem Foundation with OTP 27 requirement and Apache 2.0 licensing

The project has been refactored and transferred to the Erlang Ecosystem Foundation, introducing a minimum requirement of Erlang/OTP 27 (as specified in rebar.config and .tool-versions). The license has been updated to Apache 2.0, and the repository now includes comprehensive tooling configurations such as Credo (.credo.exs), Erlang/Elixir formatters (.formatter.exs), and Elvis (elvis.config). Additionally, the README has been expanded to document supported OpenID Connect features (including FAPI 2.0, JARM, and DPoP) and display certification and security audit badges.

(repo-wide) · high confidence

Structured token types for access, ID, and refresh tokens

The library now exposes dedicated structs for access, ID, and refresh tokens (\Oidcc.Token.Access\, \Oidcc.Token.Id\, \Oidcc.Token.Refresh\), replacing the previous opaque record-based approach. This change provides a clearer API surface, with \Oidcc.Token.Access\ including a new \authorization\_headers/4\ function (available since 3.2.0) to simplify generating authorization headers for API calls.

lib/oidcc/token · high confidence

Test coverage

Added comprehensive test suite for OIDC core flows; Added test fixtures for OpenID Connect and FAPI2 profiles; Added tests for the OIDCC provider configuration worker generator; Expanded test coverage for OIDC client operations and configuration.

Dependencies

Update project dependencies and lockfile

The mix.exs manifest and mix.lock file have been updated to refresh the project's dependency tree. Key updates include raising the minimum Elixir requirement to version 1.17, updating the Igniter optional dependency to support versions up to 0.9.0 (with the lockfile resolving to 0.8.3), and bumping ExDoc to 0.40.3. Other dependencies such as telemetry, jose, and credo have also been updated to their latest compatible versions.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 67 → 67 (+0.2)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 77 → 76 (-0.8)
  • Architecture 100 → 100 (+0.0)
  • Maturity 53 → 53 (+0.7)
  • Readiness 72 → 72 (+0.0)
  • Security 98 → 98 (-0.5)

Resolved (7)

  • Hotspot: src/oidcc_token.erl (src/oidcc_token.erl)
  • Medium CVE: EEF-[CVE redacted] (mix.lock)
  • Off-boarding risk: anonymized user #1
  • Orphaned file (src/oidcc_auth_util.erl)
  • Orphaned file (src/oidcc_profile.erl)
  • Orphaned files with no living knowledge
  • Outdated: jose

New (8)

  • Edited copies of one member (4 members, 13+ corresponding lines) (src/oidcc.erl)
  • Edited copy of a member (12 corresponding lines) (src/oidcc_provider_configuration.erl)
  • Edited copy of a member (12 corresponding lines) (src/oidcc_token.erl)
  • Edited copy of a member (29 corresponding lines) (src/oidcc_token.erl)
  • Edited copy of a member (6 corresponding lines) (lib/oidcc/client_context.ex)
  • Edited copy of a member (7 corresponding lines) (src/oidcc_profile.erl)
  • Off-boarding risk: anonymized user #1
  • Outdated: dialyxir

Changes since last survey

  • 18 commits — 15 feature/other, 3 fixes

By area

  • .github/workflows — 6 commits
  • (root) — 5 commits
  • src/oidcc.app.src — 3 commits
  • src/oidcc_jwt_util.erl — 2 commits
  • lib/oidcc.ex — 1 commit
  • src/oidcc_client_context.erl — 1 commit

Notable commits

  • fix: Fix SBoM attestation condition
  • fix: Fix Workload Identity Permissions
  • fix: fix: drop invalid JWKs when loading from provider (#575)
  • change: Bump the github-actions group with 5 updates
  • change: Drop HEX_API_KEY
  • change: Handle JWE decrypt error from jose 1.11.13
  • change: Prevent url_extensions from overwriting oidcc set parameters (#577)
  • change: Release v3.9.1
  • change: Release v3.9.2
  • change: Release v3.9.2-beta.1
  • change: Replace mock with test HTTP adapter
  • change: Setup Workload Identity Publishing
  • change: Support all possible provider names per their spec
  • change: Update Deps
  • change: Update dependency elixir to v1.20.5
  • change: Update dependency erlang to v29
  • change: Update dependency rebar to v3.28.0
  • change: Upload Credo SARIF when Credo finds issues

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

erlef/oidcc was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit b101687f8aaccc6f7d83bfd0c4b0bf00077d140d — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.