Skip to content

Commit

Permalink
update OAuth endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Bergemann committed Dec 7, 2016
1 parent aabe3f8 commit 1221ef6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules/
.DS_Store
config/config.js
4 changes: 2 additions & 2 deletions app/models/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ var oauth2 = require('simple-oauth2')({
clientID: config.CLIENT_ID,
clientSecret: config.CLIENT_SECRET,
site: config.BASE_URI,
tokenPath: '/oauth/oauth20/token',
authorizationPath: '/oauth/auz/authorize',
tokenPath: '/oauth2/token',
authorizationPath: '/oauth2/authorize',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
'User-Agent':'curl/7.43.0'
Expand Down

0 comments on commit 1221ef6

Please sign in to comment.