Skip to content

Dropbox strategy for Opauth, a multi-provider authentication framework for PHP

Notifications You must be signed in to change notification settings

t1mmen/opauth-dropbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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)

About

Dropbox strategy for Opauth, a multi-provider authentication framework for PHP

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages