Skip to content

Scope in refresh_token grant type is ignored. #104

Closed
@jorenvandeweyer

Description

@jorenvandeweyer

While checking the compliance of the refresh_token grant. I discovered that the optional scope parameter in the body is ignored.

return Promise.bind(this)
.then(function() {
return this.getRefreshToken(request, client);
})
.tap(function(token) {
return this.revokeToken(token);
})
.then(function(token) {
return this.saveToken(token.user, client, token.scope);
});

https://datatracker.ietf.org/doc/html/rfc6749#section-6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions