PHPackages                             t1mmen/opauth-bitbucket - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. t1mmen/opauth-bitbucket

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

t1mmen/opauth-bitbucket
=======================

Opauth strategy for Bitbucket

1.0(10y ago)035MITPHPPHP &gt;=5.2.0

Since Apr 29Pushed 10y ago1 watchersCompare

[ Source](https://github.com/t1mmen/opauth-bitbucket)[ Packagist](https://packagist.org/packages/t1mmen/opauth-bitbucket)[ Docs](https://github.com/t1mmen/opauth-bitbucket)[ RSS](/packages/t1mmen-opauth-bitbucket/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Opauth-Bitbucket
================

[](#opauth-bitbucket)

[Opauth](https://github.com/opauth/opauth) strategy for Bitbucket authentication.

Implemented based on

Getting started
---------------

[](#getting-started)

1. Install Opauth-Bitbucket:

    Using git:

    ```
    cd path_to_opauth/Strategy
    git clone https://github.com/t1mmen/opauth-bitbucket.git bitbucket
    ```

Or, using [Composer](https://getcomposer.org/), just add this to your `composer.json`:

```
{
    "require": {
        "t1mmen/opauth-bitbucket": "*"
    }
}
```

Then run `composer install`.

2. Create Bitbucket application at  under "Oauth" in left menu. This implementation requires the "email" scope set.
3. Configure Opauth-Bitbucket strategy with at least `Client ID` and `Client Secret`.
4. Direct user to `http://path_to_opauth/bitbucket` to authenticate

Strategy configuration
----------------------

[](#strategy-configuration)

Required parameters:

```
