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

ActiveLibrary

myits/openid-connect-client
===========================

Package for connect to myITS SSO

v1.5.0(9mo ago)532.1k↓45.2%2[1 issues](https://github.com/dptsi/php-openid-connect-client/issues)1Apache-2.0PHPPHP &gt;=5.4

Since Feb 9Pushed 9mo agoCompare

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

READMEChangelogDependencies (1)Versions (10)Used By (1)

PHP OpenID Connect Basic Client
===============================

[](#php-openid-connect-basic-client)

A simple library that allows an application to authenticate a user through the basic OpenID Connect flow. This library hopes to encourage OpenID Connect use by making it simple enough for a developer with little knowledge of the OpenID Connect protocol to setup authentication.

developed specifically to connect applications that want to connect with myITS SSO.

Prerequisite
============

[](#prerequisite)

Your application must be registered to the system, you can register your app by visit DPTSI-ITS and ask for registrating your app

Requirements
============

[](#requirements)

1. PHP 5.4 or greater
2. phpseclib/phpseclib 2.0 or greater
3. CURL extension
4. JSON extension

Install
-------

[](#install)

1. Install library using composer

```
composer require myits/openid-connect-client:*

```

2. Include composer autoloader and use class OpenIDConnectClient

```
require __DIR__ . '/vendor/autoload.php';

use Its\Sso\OpenIDConnectClient;
use Its\Sso\OpenIDConnectClientException;
```

Sample login
------------

[](#sample-login)

```
