Last active
July 5, 2016 23:27
-
-
Save agraebe/4024fa58ecaba7a800776e784d6e5277 to your computer and use it in GitHub Desktop.
API login
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.get('/api/login', function(request, response) { | |
var url = uber.getAuthorizeUrl(['history','profile', 'request', 'places']); | |
response.redirect(url); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment