Skip to content
This repository was archived by the owner on Dec 7, 2023. It is now read-only.
This repository was archived by the owner on Dec 7, 2023. It is now read-only.

Find convenient way of casting decoded JWTs #536

@Nydauron

Description

@Nydauron

As per #535, it introduced a new function utils.FetchIdFromSignedUserToken() which has some amount of duplicate code compared to say utils.ExtractFieldFromJWT(). The main differences include it casting to a string rather than a []string.

Question to ask is it worth the effort of reducing duplication for this small amount of code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions