PHPackages                             steverhoades/oauth2-openid-connect-client - 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. steverhoades/oauth2-openid-connect-client

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

steverhoades/oauth2-openid-connect-client
=========================================

OAuth2 OpenID Connect Client that utilizes the PHP Leagues OAuth2 Client

v2.0.0(3y ago)51559.2k—8.7%35[9 issues](https://github.com/steverhoades/oauth2-openid-connect-client/issues)[6 PRs](https://github.com/steverhoades/oauth2-openid-connect-client/pulls)4MITPHPPHP &gt;= 7.4

Since Oct 12Pushed 2y ago5 watchersCompare

[ Source](https://github.com/steverhoades/oauth2-openid-connect-client)[ Packagist](https://packagist.org/packages/steverhoades/oauth2-openid-connect-client)[ RSS](/packages/steverhoades-oauth2-openid-connect-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (12)Versions (13)Used By (4)

OAuth 2.0 OpenID Connect Client
===============================

[](#oauth-20-openid-connect-client)

This package uses the PHP League's [OAuth2 Client](https://github.com/thephpleague/oauth2-client) and this [JWT Token Library](https://github.com/lcobucci/jwt) to provide an OAuth2 OpenID Connect client.

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

[](#requirements)

The following versions of PHP are supported.

- PHP 7.4
- PHP 8.0
- PHP 8.1

Usage
-----

[](#usage)

You may test your OpenID Connect Client against [bshaffer's demo oauth2 server](https://github.com/bshaffer/oauth2-demo-php).

```
