Skip to content

Return 401 instead of 403 when the JWT access token is invalid or expired #216

@VKTB

Description

@VKTB

401 instead of 403 should be returned when the JWT access token is invalid or expired. 403 is used when the client has valid authentication credentials but it does not have the necessary permissions. Any applications consuming the API whose logic depends on this status code will need to be updated.

https://github.com/search?q=repo%3Aral-facilities%2Fobject-storage-api%20%22403%22&type=code

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions