Skip to content

Commit

Permalink
Update authenticate method docs with the right URL (#1129)
Browse files Browse the repository at this point in the history
The webserver callback should be done to oauth2callback since it's what in line 59 are been compared.
  • Loading branch information
christianguevara authored and JustinBeckwith committed Apr 19, 2018
1 parent 47b3255 commit fcb9f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/sampleclient.js
Expand Up @@ -46,7 +46,7 @@ class SampleClient {

// Open an http server to accept the oauth callback. In this
// simple example, the only request to our webserver is to
// /callback?code=<code>
// /oauth2callback?code=<code>
async authenticate (scopes) {
return new Promise((resolve, reject) => {
// grab the url that will be used for authorization
Expand Down

0 comments on commit fcb9f72

Please sign in to comment.