Skip to content

Custom Header #33

@brianhiss

Description

@brianhiss

Is your feature request related to a problem? Please describe.
I'm curious if you have it on your roadmap to support a custom header?

Describe the solution you'd like
Certain 3rd Party vendors (i.e. Twilio) require adding custom keys to the header:

{
  "typ": "JWT",
  "alg": "HS256",
  "cty": "twilio-fpa;v=1" 
}

Describe alternatives you've considered
I've looked into going with a pure JS implementation, but those have their issues as well. They'll work in a Node.js environment, but not with the React Native or Hermes JS runtime.

Additional context
You can read more about Twilio's custom header requirement here: https://www.twilio.com/docs/iam/access-tokens#jwt-format

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