Skip to content

Commit 9dbe7d2

Browse files
authored
Mention that custom params can be passed (#430)
Update documentation example to include custom params
1 parent fbb295b commit 9dbe7d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ async function run() {
8080
const authorizationUri = client.authorizeURL({
8181
redirect_uri: 'http://localhost:3000/callback',
8282
scope: '<scope>',
83-
state: '<state>'
83+
state: '<state>',
84+
85+
customParam: 'foo', // non-standard oauth params may be passed as well
8486
});
8587

8688
// Redirect example using Express (see http://expressjs.com/api.html#res.redirect)

0 commit comments

Comments
 (0)