t1mmen/opauth-divvy

Opauth strategy for Divvy

1.0.1 2016-05-09 21:56 UTC

This package is not auto-updated.

Last update: 2024-12-21 20:30:35 UTC


README

Opauth strategy for Divvy authentication.

Implemented based on https://www.divvy.no

Getting started

  1. Make sure cURL is enabled (required due to header size issues using Opauth's transport method)

  2. Install Opauth-Divvy:

    Using git:

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

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

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

Then run composer install.

  1. Create Divvy application at https://divvy.knowit.no/account

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

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

Strategy configuration

Required parameters:

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

License

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