Opauth strategy for Dropbox authentication.
Implemented based on https://www.dropbox.com/developers/blog/45/using-oauth-20-with-the-core-api
-
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
.
-
Create Dropbox application at https://www.dropbox.com/developers
-
Configure Opauth-Dropbox strategy with at least
Client ID
andClient Secret
. -
Direct user to
http://path_to_opauth/dropbox
to authenticate
Required parameters:
<?php
'Dropbox' => array(
'client_id' => 'YOUR CLIENT ID',
'client_secret' => 'YOUR CLIENT SECRET'
)
Opauth-Dropbox is MIT Licensed Copyright © 2014 Timm Stokke (http://timm.stokke.me)