PHPackages                             private-packagist/oidc-identities - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. private-packagist/oidc-identities

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

private-packagist/oidc-identities
=================================

Create OIDC tokens on different platforms

1.0.1(9mo ago)09.9k—3.4%1MITPHPPHP ^7.2.5 || ^8.0CI passing

Since Jul 22Pushed 3mo agoCompare

[ Source](https://github.com/packagist/oidc-identities)[ Packagist](https://packagist.org/packages/private-packagist/oidc-identities)[ RSS](/packages/private-packagist-oidc-identities/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (13)Versions (3)Used By (1)

packagist/publish-artifact-github-action
========================================

[](#packagistpublish-artifact-github-action)

GitHub Action to publish artifacts as package versions to Private Packagist.

Requirements
------------

[](#requirements)

PHP &gt;= 7.2

Install
-------

[](#install)

Via Composer:

```
$ composer require private-packagist/oidc-identities
```

Usage
-----

[](#usage)

Initiate a `TokenGenerator` instance and call the `generate` method with `$audience`. The `TokenGenerator` will automatically try all supported platforms.

```
// Configure a HttpMethodsClient instance
$oidcHttpClient = new HttpMethodsClient(
    Psr18ClientDiscovery::find(),
    Psr17FactoryDiscovery::findRequestFactory(),
    Psr17FactoryDiscovery::findStreamFactory(),
);

$tokenGenerator = new TokenGenerator(new NullLogger(), $oidcHttpClient);
$token = $tokenGenerator->generate($audience);
```

Copyright and License
---------------------

[](#copyright-and-license)

The GitHub Action is licensed under the MIT License.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance69

Regular maintenance activity

Popularity26

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~9 days

Total

2

Last Release

291d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2969e5fd81aa79b482a247226409a0b55ed82c4587d40264633425b6b4a22a21?d=identicon)[glaubinix](/maintainers/glaubinix)

---

Top Contributors

[![glaubinix](https://avatars.githubusercontent.com/u/442056?v=4)](https://github.com/glaubinix "glaubinix (3 commits)")[![pscheit](https://avatars.githubusercontent.com/u/488189?v=4)](https://github.com/pscheit "pscheit (1 commits)")

---

Tags

OpenID Connectoidcidentities

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/private-packagist-oidc-identities/health.svg)

```
[![Health](https://phpackages.com/badges/private-packagist-oidc-identities/health.svg)](https://phpackages.com/packages/private-packagist-oidc-identities)
```

###  Alternatives

[ronvanderheijden/openid-connect

OpenID Connect support to the PHP League's OAuth2 Server. Compatible with Laravel Passport.

61755.5k](/packages/ronvanderheijden-openid-connect)[simplesamlphp/simplesamlphp-module-oidc

A SimpleSAMLphp module adding support for the OpenID Connect protocol

5016.9k1](/packages/simplesamlphp-simplesamlphp-module-oidc)[facile-it/php-openid-client

OpenID (OIDC) Client

42592.7k7](/packages/facile-it-php-openid-client)[jeremy379/laravel-openid-connect

OpenID Connect support to the PHP League's OAuth2 Server. Compatible with Laravel Passport.

55342.3k2](/packages/jeremy379-laravel-openid-connect)[authlete/authlete-laravel

Authlete Library for Laravel

4226.0k](/packages/authlete-authlete-laravel)[oidc/core

OpenID Connect Core Library implementation for PHP

14110.9k](/packages/oidc-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
