From 63ba7eed8e79320fdb8947771516517496773133 Mon Sep 17 00:00:00 2001 From: Christian Guevara Date: Thu, 19 Apr 2018 12:37:58 -0500 Subject: [PATCH] Update authenticate method docs with the right URL The webserver callback should be done to oauth2callback since it's what in line 59 are been compared. --- samples/sampleclient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/sampleclient.js b/samples/sampleclient.js index 918e2f91cf8..2588836ce6d 100644 --- a/samples/sampleclient.js +++ b/samples/sampleclient.js @@ -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= + // /oauth2callback?code= async authenticate (scopes) { return new Promise((resolve, reject) => { // grab the url that will be used for authorization