Skip to content

payload decoder has "HS256" algorithm hardcoded, should use settings. #7

@miraculixx

Description

@miraculixx

Great project!

Currently, utils.jwt_code_handler hardcodes the HS256 algorithm, instead of using settings.JWT_ALGORITHM. Is this fixed on purpose or should it be configurable in settings?

A better default might be list(jwt.api_jwt.get_default_algorithms().keys())

Ref.

algorithms=["HS256"],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions