Skip to content

Commit

Permalink
Mention that custom params can be passed (#430)
Browse files Browse the repository at this point in the history
Update documentation example to include custom params
  • Loading branch information
k-funk committed Mar 22, 2023
1 parent fbb295b commit 9dbe7d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ async function run() {
const authorizationUri = client.authorizeURL({
redirect_uri: 'http://localhost:3000/callback',
scope: '<scope>',
state: '<state>'
state: '<state>',

customParam: 'foo', // non-standard oauth params may be passed as well
});

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

0 comments on commit 9dbe7d2

Please sign in to comment.