Skip to main content
Inspiring
Jan 17, 2024 5:22 AM UTC
Question

Does Appian Have a Way to Create a JWS (JSON Web Signature) for POST Body?

I am sending a POST request via an integration, and this endpoint requires that a JWS (signature of the body) is sent in a header. This is similar to a JWT, except that what is signed is the body of the POST rather than the claims included in the token. In our instance, I see the plugin functions for creating JWTs, but none of them seem to have the ability to create a JWS.

Any ideas on this one or will I have to create my own function plugin?

    11 replies

    harshitb6843
    Brainy
    Jan 17, 2024 5:27 AM UTC

    It does have a JWT available via a plugin. But AFAIK, it does not have a JWS.

    vijayg1506
    Known Participant
    Apr 19, 2024 5:14 AM UTC

    [mention:9acdf6feec604cefbd1c57683301f742:e9ed411860ed4f2ba0265705b8793d05] : Did you find any solution for this ?

     [mention:b8ea18cfbb2e4f6d841cf3c1d4d7420b:e9ed411860ed4f2ba0265705b8793d05] , So the alternate solution as per my knowledge are from below list. Could you please confirm.

    1. Create our own java API-> host it somewhere-> call API via appian Integration.
    2. Create java code -> handover to Appian support team for custom plug in function creation for specific site
    3. Any Other option
    New Participant
    Jan 17, 2024 5:28 AM UTC
    [deleted]
    harshitb6843
    Brainy
    Jan 17, 2024 5:29 AM UTC

    New Participant
    Jan 17, 2024 7:04 AM UTC
    [deleted]
    harshitb6843
    Brainy
    Jan 17, 2024 7:11 AM UTC

    New Participant
    Jul 17, 2024 10:05 AM UTC

    [mention:9acdf6feec604cefbd1c57683301f742:e9ed411860ed4f2ba0265705b8793d05]  Did you find any solution for this problem??

    Im also trying to sign+encrypt a payload before sending it to an API, as well as trying to decrypt+verify their response.

    If anyone can help in this case.
    Best Regards

    vijayg1506
    Known Participant
    Jul 30, 2024 9:45 AM UTC

    [mention:b2b384b97c244d35b9a9b7deac11b82e:e9ed411860ed4f2ba0265705b8793d05]  We have created our own plugin using java code.

    New Participant
    Jul 30, 2024 9:51 AM UTC

    would you be able to share the source code of the plugin or is it avialbale via appian market?