From 9dbe7d26353793c8cbdfb3a83d754120ef36ccc1 Mon Sep 17 00:00:00 2001 From: Kevin Funk Date: Wed, 22 Mar 2023 00:22:40 -0300 Subject: [PATCH] Mention that custom params can be passed (#430) Update documentation example to include custom params --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 95c45bb..003d1dc 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,9 @@ async function run() { const authorizationUri = client.authorizeURL({ redirect_uri: 'http://localhost:3000/callback', scope: '', - 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)