hurl
hurl copied to clipboard
JWT Authentication
Problem to solve
My endpoint is authenticated using a JWT. Endpoint 1
has JWT type A
and Endpoint 2
has JWT type B
. I want to create JWT type B
with data from Endpoint 1
to use Endpoint 2
.
Proposal
I think a function that takes the a JWT header(JSON), Payload(also JSON) & signature(string or var) to create a JWT token would be perfect.
Additional context and resources
I'd be using this for CI/CD integration and it would be good away to create tokens & test a certain flow properly.
Tasks to complete
- [ ] TODO