pstef / openid
A simple OpenId connector, ready to be used in Symfony 4.1+
0.2.3
2018-10-23 12:48 UTC
Requires
- php: >=7.1.3
- ext-curl: *
- ext-json: *
- firebase/php-jwt: ^5.0
- symfony/http-foundation: ^4.1
Requires (Dev)
- phpunit/phpunit: 6.*
This package is not auto-updated.
Last update: 2024-10-02 21:41:26 UTC
README
This library provides client-side OpenId Connect flow using PHP.
It's meant for use in a Symfony (>=4.1) application, to authenticate users against an OpenId provider like:
Requirements
- PHP >= 7.1.3
- cURL extension
- JSON extension
Installation
composer install pstef/openid
Usage
Please have a look at the Sample Symfony project for usage instructions.
API
@todo
See also
This code is based on the OpenId specs available here, and in particular the OpenId 1.0 discovery process documented here: