Skip to content
This repository was archived by the owner on May 26, 2020. It is now read-only.
This repository was archived by the owner on May 26, 2020. It is now read-only.

InvalidAudienceError results in 500 Error Rather than 401/403 #100

Closed
@cancan101

Description

@cancan101

Right now just ExpiredSignature and DecodeError are caught. (See here) but InvalidAudienceError extends InvalidTokenError.

InvalidAudienceError should be caught and then either return None or raise a 401 or 403.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions