node-oauth2-server icon indicating copy to clipboard operation
node-oauth2-server copied to clipboard

saveToken passes wrong parameter

Open jonsaich opened this issue 5 years ago • 1 comments

lib/grant-types/authorization-code-grant-type.js Line 77

The function returns: return this.saveToken(code.user, client, code.authorizationCode, code.scope);

As per the documentation, code.authorizationCode is never passed, the actual authorization code is passed as code.code .

jonsaich avatar Mar 18 '19 17:03 jonsaich

This project should closed or another maintainer should be assigned

expresstechsoftwares avatar Mar 19 '19 06:03 expresstechsoftwares