Opauth strategy for Bitbucket authentication.
Implemented based on https://confluence.atlassian.com/display/BITBUCKET/oauth+Endpoint using OAuth.
Opauth is a multi-provider authentication framework for PHP.
-
Install Opauth-Google:
cd path_to_opauth/Strategy git clone git://github.com/fancyguy/opauth-bitbucket.git Bitbucket
-
Create a Bitbucket integrated application under account then Integrated applications
- Click on create consumer and enter your application name.
- Description and URL are optional.
-
Configure Opauth-Bitbucket strategy.
-
Direct user to
http://path_to_opauth/bitbucket
to authenticate
Required parameters:
<?php
'Bitbucket' => array(
'key' => 'YOUR CONSUMER KEY',
'secret' => 'YOUR CONSUMER SECRET'
)
Opauth-Bitbucket is MIT Licensed
Copyright © 2012 FancyGuy Technologies (http://www.fancyguy.com)