Search by

fittinq / symfony-authenticator

fittinq

There is no license information available for the latest version (13.1.0) of this package.

This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.

Package info

gitlab.com/qlfbrands/fittinq-symfony/symfony-authenticator

Issues

pkg:composer/fittinq/symfony-authenticator

Statistics

Installs: 4 586

Dependents: 0

Suggesters: 0

Stars: 0

13.1.0 2026-06-21 12:52 UTC

README

Shield of your service with the authenticator library

Install via composer

composer require fittinq\symfony-authenticator

Configure bundle

# config/bundles.php
<?php

return [
    // ...
    Fittinq\Symfony\Authenticator\SymfonyAuthenticatorBundle::class => ['all' => true],
];

.env

Configure the following .env.local settings

AUTHENTICATOR_HOST_URL=dev.auth.hip.fittinq.com
AUTHENTICATOR_KEY_PUB=/var/www/app/auth.key.pub

Setup security.yaml

security:
  enable_authenticator_manager: true

  providers:
    user_provider:
      id: Fittinq\Symfony\Authenticator\Authenticator\JwtUserProvider

  firewalls:
    unsecure:
      pattern: ^/(health|authenticator-callback)
      security: false
    secure:
      provider: user_provider
      custom_authenticators:
#        Depending on your problem, you can add either authenticator.
#        - Fittinq\Symfony\Authenticator\Authenticator\CookieAuthenticator
#        - Fittinq\Symfony\Authenticator\Authenticator\HeaderAuthenticator
          
  access_control:
    - {path: '^/users', roles: ROLE_ADMIN_AUTHENTICATOR}