pstef/openid

A simple OpenId connector, ready to be used in Symfony 4.1+

0.2.3 2018-10-23 12:48 UTC

This package is not auto-updated.

Last update: 2024-04-17 19:43:59 UTC


README

Latest Stable Version License Total Downloads

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:

openid.net/specs/openid-connect-discovery-1_0.html