# taOpenIDsfGuard plugin The `taOpenIDsfGuardPlugin` is a symfony plugin that adds openID support on sfGuardPlugin. It uses Zend Frameworks OpenID library. It gives you the model and the module which allow users to manage their OpenIDs. It support both versions OpenID 1.0 and 2.0. ## Installation * If not installed, install first sfGuardPlugin * Download and install Zend Framework (I installed mine on lib/zf) * Add location of Zend Framework and autoloader to settings.yml zend_lib_dir: %SF_LIB_DIR%/zf/library/ autoloading_functions: * [autoload](sfZendFrameworkBridge,) * Because Zend Framework wants start session to work properly Update factories.yml session_autostart value to false all: storage: class: sfSessionStorage param: auto_start: false * Add following row to apps config.php Zend_Session::start(); * Build you model symfony propel-build-all * Enable taOpenID module for your application all: .settings: enabled_modules: [taOpenID](default,) * Add routes to routing.yml openid_signin: url: /taOpenID/Signin/* param: {module: taOpenID, action: SignIn} openid_finishauth: url: /taOpenID/Finish param: {module: taOpenID, action: Finish} openid_default: url: /taOpenID param: {module: sfGuardAuth, action: signin} * Clear you cache symfony cc * Include OpenID signing form to your login page <?php include_partial('taOpenID/signinForm') ?> ### Manage your openIDs To manage your openIDs: * Enable the module `taOpenID` in `settings.yml` all: .settings: enabled_modules: [taOpenID](...,) * Go to taOpenID's manage action http://www.example.com/taOpenID/manage ## TODO * Support for registration with openID ## Changelog ### 1.0.0 * Tero.Alen: Initial release