t1mmen / opauth-divvy
Opauth strategy for Divvy
1.0.1
2016-05-09 21:56 UTC
Requires
- php: >=5.2.0
- opauth/opauth: >=0.4.0
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
-
Make sure cURL is enabled (required due to header size issues using Opauth's transport method)
-
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
.
-
Create Divvy application at https://divvy.knowit.no/account
-
Configure Opauth-Divvy strategy with at least
Client ID
andClient Secret
. -
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)