claromentis/opauth-live

Windows Live Connect strategy for Opauth

1.0.1 2022-07-14 16:36 UTC

This package is auto-updated.

Last update: 2024-04-14 20:20:47 UTC


README

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

  1. Install Opauth-Live:

    cd path/to/app/root
    composer require opauth/live:dev-wip/1.0
  2. Create a Live Connect application at https://manage.dev.live.com/AddApplication.aspx?tou=1

    • Once application is created, be sure to go to My apps > API Settings to define your redirect domain.
  3. Configure Opauth-Live strategy.

  4. Direct user to http://path_to_opauth/live to authenticate

Strategy configuration

Required parameters:

<?php
'Live' => array(
  'client_id' => 'YOUR CLIENT ID',
  'client_secret' => 'YOUR CLIENT SECRET'
)

Optional parameters: scope, state

References

License

Opauth-GitHub is MIT Licensed Copyright © 2012 U-Zyn Chua (http://uzyn.com)