t1mmen/opauth-dropbox

Harvest strategy for Opauth

0.1.0 2014-11-01 00:29 UTC

This package is not auto-updated.

Last update: 2024-03-26 01:24:35 UTC


README

Opauth strategy for Dropbox authentication.

Implemented based on https://www.dropbox.com/developers/blog/45/using-oauth-20-with-the-core-api

Getting started

  1. Install Opauth-Dropbox:

    Using git:

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

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

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

Then run composer install.

  1. Create Dropbox application at https://www.dropbox.com/developers

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

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

Strategy configuration

Required parameters:

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

License

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