Opauth strategy for OpenID.
Opauth is a multi-provider authentication framework for PHP.
-
Install Opauth-OpenID:
cd path_to_opauth/Strategy git clone git://github.com/opauth/openid.git OpenID
or
composer require opauth/openid
-
Configure Opauth-OpenID strategy. (see next section)
-
Direct user to
http://path_to_opauth/openid
to authenticate
Opauth-OpenID requires zero configurations. It just needs to be defined along with the list of strategies.
<?php
'OpenID' => array(),
Optional parameters:
-
required
- Required OpenID attributes. -
optional
- Optional OpenID attributes. -
identifier_form
- complete path to HTML or PHP view renders the form requesting for OpenID identifier.
Opauth-OpenID includes Mewp's LightOpenID library.
LightOpenID library is Copyright (c) 2010, Mewp and MIT licensed.
Opauth-OpenID is MIT Licensed
Copyright © 2012 U-Zyn Chua (http://uzyn.com)