December 21, 2007

21 Dec

phpMyID - Yahoo! BBAuth Extension

Posted by marcel, December 21, 2007

Version: 0.1 (tested with phpMyID Version 0.8 Revision 143)
License: GNU General Public License

Instructions

  • Install the phpMyID extension framework
  • Download the Quickstart Package for PHP Programmers for Yahoo! Browser-Based Authentication and place the following PHP files in the same directory as phpMyID:
    • ybrowserauth.class.php4
    • ybrowserauth.class.php5
  • Download the Yahoo! Browser-Based authentication extension and place the PHP file in the same directory as phpMyID
  • Register as Yahoo! developer The Web Application URL should be

    http://<your domain>/<your folder>/MyID.config.php?openid.mode=authorize

  • Copy your Yahoo! application id and shared secret into MyID.config.php:

    'auth_realm' => 'phpMyID',
    'yappid' => '<your application id>',
    'ysecret' => '<your shared secret>',

  • Try to login using Yahoo! Browser-Based Authentication and discover your hash value from the error message
  • Copy your hash value and insert it into MyID.config.php and define the desired authentication methods:

    'yhash' => '<your hash value>',
    'methods' => array('digest', 'yahoo'),

  • Test the extension

Note that if you have selected an authentication method and you want to revert to another authentication method you have to restart your browser.

See also Introduction, CardSpace extension

Tags:

Add A Comment

You must be logged in to post a comment.