Skip to content

[Bug]: Invalid JWT signatures cause uncaught exception #153

@khakers

Description

@khakers

Is there an existing issue for this?

  • I have searched the existing issues

Version

v0.6.6

In which part of the application does the error occur?

Backend

Current Behavior

JWTs cookies with an invalid signature throw an uncaught exception in auth checking code and result in user facing 500 errors.

Expected Behavior

JWTs that fail signature verification should result in a 401 error or a redirection to signin and the invalid cookie being cleared.

Steps To Reproduce

No response

Environment

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions