PHPackages                             opauth/live - 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. opauth/live

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

opauth/live
===========

Live Connect strategy for Opauth

0.1.0(13y ago)54.9k8[1 issues](https://github.com/opauth/live/issues)1MITPHPPHP &gt;=5.2.0

Since Aug 8Pushed 7y ago7 watchersCompare

[ Source](https://github.com/opauth/live)[ Packagist](https://packagist.org/packages/opauth/live)[ Docs](http://opauth.org)[ RSS](/packages/opauth-live/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (3)Used By (1)

Opauth-Live
===========

[](#opauth-live)

[Opauth](https://github.com/opauth/opauth) strategy for (Microsoft) Live Connect authentication.

Confusingly, Live Connect is (was) also known as:

- Windows Live
- Microsoft Passport
- Live ID
- MSN ID

Opauth is a multi-provider authentication framework for PHP.

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

[](#getting-started)

1. Install Opauth-Live:

    ```
    cd path_to_opauth/Strategy
    git clone git://github.com/opauth/live.git Live
    ```

    or

    ```
    composer require opauth/live
    ```
2. Create a Live Connect application at

    - Once application is created, be sure to go to *My apps* &gt; *API Settings* to define your *redirect domain* to be `http://path_to_opauth/live/oauth2callback.`
3. Configure Opauth-Live strategy.
4. Direct user to `http://path_to_opauth/live` to authenticate
5. If `email` field is needed, add `wl.emails` to scope parameter in `LiveStrategy.php` (line 38). E.g., `'scope' => 'wl.basic wl.emails'`.

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

[](#strategy-configuration)

Required parameters:

```
