Get oauth2 access token

use dropbox as a sample module