Is there a particular format or standard of creating JWT for sending in HTTP request header for authentication?
App Development2 posts214 viewsLast activity Oct 2023
RO
rohit_daml1OP
Oct 2023I 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.
GY
gyorgybalazsi
Oct 2023Hi 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