PHPackages                             facile-it/openid-bundle - 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. facile-it/openid-bundle

AbandonedArchivedSymfony-bundle[Authentication &amp; Authorization](/categories/authentication)

facile-it/openid-bundle
=======================

A Symfony bundle to integrate OpenId login

0.1.0(7y ago)151MITPHPPHP ^7.1

Since May 7Pushed 6y ago2 watchersCompare

[ Source](https://github.com/facile-it/openid-bundle)[ Packagist](https://packagist.org/packages/facile-it/openid-bundle)[ RSS](/packages/facile-it-openid-bundle/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (17)Versions (2)Used By (0)

facile-it/openid-bundle
=======================

[](#facile-itopenid-bundle)

**WARNING**: this package is abandoned. Use an OAuth2 client instead, since OpenId Connect is a superset of that funtionality.

[![PHP Version](https://camo.githubusercontent.com/2dcf2757d7a2ae7d144c6e7d9b63bd3383509e6b70bacccb3bd8ad04d1c2541c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545372e312d626c75652e737667)](https://img.shields.io/badge/php-%5E7.1-blue.svg)[![Stable release](https://camo.githubusercontent.com/8e4c3a6a403b6b12d9c107c149fd44e2c2e9435cde959aef7781a677a0fcd494/68747470733a2f2f706f7365722e707567782e6f72672f666163696c652d69742f6f70656e69642d62756e646c652f76657273696f6e2e737667)](https://packagist.org/packages/facile-it/openid-bundle)[![Unstable release](https://camo.githubusercontent.com/5778ea78cdc11a897c6d1c27996f47e0bbe0b1f6277b49ad12ee708feb411a7f/68747470733a2f2f706f7365722e707567782e6f72672f666163696c652d69742f6f70656e69642d62756e646c652f762f756e737461626c652e737667)](https://packagist.org/packages/facile-it/openid-bundle)

[![Build status](https://camo.githubusercontent.com/ba47c6ade0e180fc389daf5c37ab0705e7985823f0d0d74361e9f33996af6713/68747470733a2f2f7472617669732d63692e6f72672f666163696c652d69742f6f70656e69642d62756e646c652e737667)](https://travis-ci.org/facile-it/openid-bundle)[![Coverage Status](https://camo.githubusercontent.com/beb2fe6bfb92fb9136aed389f5d6df71cc1e520a8b3ce43a846b45a7e89f7955/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f666163696c652d69742f6f70656e69642d62756e646c652f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/facile-it/openid-bundle?branch=master)

This bundles add a new [custom authentication provider](https://symfony.com/doc/current/security/custom_authentication_provider.html) for your Symfony firewall, allowing authentication of your users using a third party OpenId provider.

Installation
------------

[](#installation)

Require the package through Composer

```
composer require facile-it/openid-bundle
```

Add the bundle to your app kernel:

```
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            // ...
            new Facile\OpenIdBundle\OpenIdBundle(),
        ];

        // ...
```

Configuration
-------------

[](#configuration)

Add the two needed routes to your routing configuration; names and paths are up to you:

```
## app/config/routing.yml

facile_openid_login: # your login route, that will redirect your user to the OpenId service
    path: /openid/login

facile_openid_check: # your check route, where your user will return back for authentication on your app
    path: /openid/check
```

Define a service that implements the `\Facile\OpenIdBundle\Security\UserProvider` interface:

```
