ahs / persona-bundle
Persona authentication system integration with Symfony aplications
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
pkg:composer/ahs/persona-bundle
Requires
- php: >=5.3.3
- kriswallsmith/buzz: v0.7
- symfony/framework-bundle: >=2.1.0,<2.3-dev
This package is auto-updated.
Last update: 2021-02-23 20:33:18 UTC
README
This Bundle enables integration of the Persona authentication system. It provides a Symfony2 authentication provider so that users can login to a Symfony2 application via Persona.
Installation
- Install bundle:
The recommended way to install Persona Bundle is through composer. Just create a composer.json file and run the php composer.phar install command to install it:
      {
          "require": {
              "ahs/persona-bundle": "*"
          }
      }
- 
Add this bundle to your application's kernel: // app/ApplicationKernel.php public function registerBundles() { return array( // ... new AHS\PersonaBundle\AHSPersonaBundle(), // ... ); }
- 
Configure your new firewal: # app/config/security.yml firewalls: persona_secured: pattern: ^/ persona: true logout: true anonymous: true
- 
Change default configuration (optional): # app/config/config.yml ahs_persona: verifier_url: "your verifier url" audience_url: "your audience host"
By default bundle works with in_memory provider.
TODO
- Provide sample controller
- Provide twig helper for login/logout buttons
- Create provider for FOSUserBundle
- Promote Mozilla Persona!
- Improve readme