Skip to content

Spec compliance: invalid_request returned when refresh token invalid #993

@jacobweber

Description

@jacobweber

According to the OAuth2 spec, when you're using the refresh_token grant and the refresh token has expired, it should return an invalid_grant error. But this server actually returns a invalid_request error.

       invalid_grant
              The provided authorization grant (e.g., authorization
              code, resource owner credentials) or refresh token is
              invalid, expired, revoked, does not match the redirection
              URI used in the authorization request, or was issued to
              another client.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions