Skip to content

Commit 8802acb

Browse files
committed
Use POST for access_token endpoint in README.
1 parent 6447417 commit 8802acb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ and access token API endpoints, so the `session` option can be set to `false`.
6767
For example, as route middleware in an [Express](http://expressjs.com/)
6868
application:
6969

70-
app.get('/access_token',
70+
app.post('/access_token',
7171
passport.authenticate('consumer', { session: false }),
7272
oauthorize.requestToken(
7373
// ...

0 commit comments

Comments
 (0)