Skip to content

JWT: Removing opinionated usage of Claims #490

@cam-stitt

Description

@cam-stitt

I created a PR to introduce support for additional claim objects in #488. After doing some thinking I came to a conclusion that some more work needs to be done on the jwt package.

  • Remove the ambiguous Claims object
  • Enforce the Sign/Parse methods to accept a jwt.Claims parameter

The current implementation leans towards only using MapClaims and I'm not sure what value the go-kit Claims object is providing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions