Skip to content

Documentation of revokeAuthorizationCode is incorrect #409

@omusil24

Description

@omusil24

The documentation of revokeAuthorizationCode(code) specifies that the code parameter should/will have code.code attribute containing the authorization code string.

In authorization-code-grant-type.js, however, it is called with a code object returned from getAuthorizationCode(authorizationCode) which should be returning a code object with the attribute code.authorizationCode.

The model method saveAuthorizationCode(code, client, user) also expects the code parameter to have the attribute code.authorizationCode.

This is inconsistent, and according to the code, the revokeAuthorizationCode documentation should be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions