Skip to content
CCPEDIAby Unity Nodes
App Development

Is there a particular format or standard of creating JWT for sending in HTTP request header for authentication?

2 posts241 viewsLast activity Oct 2023

  1. rohit_daml1OP

    I am trying to send HTTP request to ‘/v1/create’ on daml app server run with help of daml-on-fabric.
    But without JWT token, it responds with ‘Authentication JWT missing’ error.

    I am confused about how to handle it?
    How do I create/format my JWT for a particular HTTP request for HTTP JSON API ?
    I am thinking of including token in authentication header in request…

    Please help me out…
    I will be glad to get some new ideas.

  2. gyorgybalazsi

    Hi Rohit,

    you can find a detailed description of the required user token and custom Daml claims access token formats here: Authorization — Daml SDK 2.7.4 documentation

    Here you can find a description of how you can submit tokens for the HTTP JSON API: https://docs.daml.com/json-api/index.html#access-tokens