PHPackages                             belvg/sso-fpbundle - 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. belvg/sso-fpbundle

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

belvg/sso-fpbundle
==================

Integration with knpuniversity/oauth2-client-bundle to provide services

7.2.0(1y ago)0860OSL-3.0PHP

Since Sep 26Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/Galillei/ssobundle)[ Packagist](https://packagist.org/packages/belvg/sso-fpbundle)[ RSS](/packages/belvg-sso-fpbundle/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (5)Versions (18)Used By (0)

Configuration
=============

[](#configuration)

### Configure routes

[](#configure-routes)

#### Copy file `src/config/sso_fp.yaml` to `config/routes`

[](#copy-file-srcconfigsso_fpyaml-to-configroutes)

### Configure knp\_client bundle

[](#configure-knp_client-bundle)

#### copy file `src/config/knpu_oauth2_client.yaml` to `config/packages/knpu_oauth2_client.yaml`

[](#copy-file-srcconfigknpu_oauth2_clientyaml-to-configpackagesknpu_oauth2_clientyaml)

### Security

[](#security)

#### add to `src/config/security.yaml` add next lines:

[](#add-to-srcconfigsecurityyaml-add-next-lines)

```
    providers:
        # used to reload user from session & other features (e.g. switch_user)
        app_user_provider:
            id: SSO\FpBundle\Provider\FactoryPortalUserProvider
    firewalls:
        main:
            lazy: true
            provider: app_user_provider
            custom_authenticators:
                - SSO\FpBundle\Security\FactoryPortalAuthenticator
            logout:
                path: app_logout
                target: factory_portal_logout
# add to access_controll section
    access_control:
      # - { path: ^/admin, roles: ROLE_ADMIN }
      # - { path: ^/profile, roles: ROLE_USER }
      - { path: ^/connect/factoryportal, roles: PUBLIC_ACCESS }
      - { path: ^/fp_logout, roles: PUBLIC_ACCESS }
      - { path: ^/connect/factoryportal/check, roles: PUBLIC_ACCESS }
      - { path: ^/, roles: IS_AUTHENTICATED_FULLY }
```

### Services

[](#services)

#### add to `config/service.yaml` add next lines:

[](#add-to-configserviceyaml-add-next-lines)

```
    SSO\FpBundle\Provider\FactoryOauth2ClientProvider:
        arguments:
            $options: { clientId: '%env(OAUTH_FACTORY_PORTAL_ID)%', clientSecret: '%env(OAUTH_FACTORY_PORTAL_SECRET)%' }
        public: true
#
    app.factory.provider:
        alias: SSO\FpBundle\Provider\FactoryOauth2ClientProvider
#
#
#
    KnpU\OAuth2ClientBundle\Client\OAuth2Client:
        arguments:
            $provider: '@app.factory.provider'
```

### Copy file `scr/config/sso_fp.yaml` to `config/routes`

[](#copy-file-scrconfigsso_fpyaml-to-configroutes)

### Configure env

[](#configure-env)

```
OAUTH_FACTORY_PORTAL_ID=''
OAUTH_FACTORY_PORTAL_SECRET=''
```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance47

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~57 days

Recently: every ~193 days

Total

16

Last Release

456d ago

Major Versions

1.5.0 → 7.2.02025-02-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/c2a2bbefb455e96ff92b5e01963b629181c3fa4faa2f3e89e99fab3bf68bf282?d=identicon)[Galillei](/maintainers/Galillei)

---

Top Contributors

[![galillei](https://avatars.githubusercontent.com/u/2355960?v=4)](https://github.com/galillei "galillei (22 commits)")

---

Tags

SSOoauthoauth2

### Embed Badge

![Health badge](/badges/belvg-sso-fpbundle/health.svg)

```
[![Health](https://phpackages.com/badges/belvg-sso-fpbundle/health.svg)](https://phpackages.com/packages/belvg-sso-fpbundle)
```

###  Alternatives

[league/oauth2-client

OAuth 2.0 Client Library

3.8k118.6M1.2k](/packages/league-oauth2-client)[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2509.6M48](/packages/thenetworg-oauth2-azure)[klapaudius/oauth-server-bundle

Symfony(5.x to 8.x) OAuth Server Bundle

15547.3k2](/packages/klapaudius-oauth-server-bundle)[adam-paterson/oauth2-stripe

Stripe OAuth 2.0 Client Provider for The PHP League OAuth2-Client

172.4M4](/packages/adam-paterson-oauth2-stripe)[adam-paterson/oauth2-slack

Slack OAuth 2.0 Client Provider for The PHP League OAuth2-Client

22694.8k5](/packages/adam-paterson-oauth2-slack)[brenoroosevelt/oauth2-govbr

Cliente OAuth2 para Gov.br

2011.0k](/packages/brenoroosevelt-oauth2-govbr)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
