t1mmen/opauth-outlook

OUtlook/Office 365 Connect strategy for Opauth

1.0.1 2016-05-06 01:58 UTC

This package is not auto-updated.

Last update: 2024-12-21 20:14:14 UTC


README

Based on https://github.com/opauth/live

Opauth-Outlook

Opauth strategy for Outlook authentication.

Implemented based on https://msdn.microsoft.com/en-us/library/azure/dn645542.aspx

Getting started

  1. Install Opauth-Outlook:

    Using git:

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

Or, using Composer, just add this to your composer.json:

{
    "require": {
        "t1mmen/opauth-outlook": "*"
    }
}

Then run composer install.

  1. Create Outlook application at https://developer.outlook.com/apps/new

  2. Configure Opauth-Outlook strategy with at least Client ID and Client Secret.

  3. Direct user to http://path_to_opauth/outlook to authenticate

Strategy configuration

Required parameters:

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

License

Opauth-Outlook is MIT Licensed Copyright © 2016 Timm Stokke (http://timm.stokke.me)