We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0e57fe commit 46ea086Copy full SHA for 46ea086
src/passport.ts
@@ -381,8 +381,7 @@ export class Strategy implements passport.Strategy {
381
* - Its `searchParams` are used as the authorization response parameters when
382
* the response type used by the client is `code`
383
* - Its value stripped of `searchParams` and `hash` is used as the
384
- * `redirect_uri` authorization code grant token endpoint parameter unless
385
- * callbackURL was specified in the Strategy constructor
+ * `redirect_uri` authorization code grant token endpoint parameter
386
*/
387
currentUrl(req: express.Request): URL {
388
return new URL(`${req.protocol}://${req.host}${req.url}`)
0 commit comments