Add JWT to Custom Integration Authentication Methods
L
Lava Puma
There are some APIs the require a JWT or token to be generated from the client ID and secret and passed as the authentication via a header. It would be nice if the custom integration could be setup to generate the JWT and then regenerate it at expiration. This would help us avoid having to create workflows and additional header entry for each call.
An example is the "x-av-sig" header for Avanan: https://www.avanan.com/hubfs/MSP/documents/Smart-API-Documentation/master/Avanan_SmartAPI_Reference_Guide.pdf
Log In
N
Neon blue Ocelot
It would be great to be able to validatie the JWT and renew if needed automatically.
J
Juicy Hummingbird
Concur w/ the Avanan example here. That is why I'm here.
E
Extraordinary Mockingbird
I think the best way to implement this would be a "Jinja" authentication method, which allows you to specify/modify headers and body and has access to REQUEST() and the api key field. The same fields available in the webhook trigger for body/header/status code would work fine.
C
Conceptual Salmon
I would like it as an Action as well, to validate an JWT.
C
Cinnabar Peacock
Add DNS Filter to this list as well.
