Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.11 KB

README.md

File metadata and controls

53 lines (39 loc) · 1.11 KB

Opauth-Dropbox

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)