HTTP JSON API JWT Authentication
See original GitHub issueJWT Authentication and Authorization will be implemented on the Ledger side.
HTTP JSON API would not do any JWT validation by default. However we provide a functionality to override the default pass-through logic. Anyone customizing HTTP JSON API can pass validateJwt
argument to com.digitalasset.http.HttpService#start
:
https://github.com/digital-asset/daml/blob/689d4d876ca168e0d680a9e24a3d23e53a22c6b4/ledger-service/http-json/src/main/scala/com/digitalasset/http/HttpService.scala#L44-L49
JWT pass-through is blocked by: #2523 also depends on: #2540
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
JSON Web Token Introduction - jwt.io
JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties...
Read more >How to secure a REST API using JWT authentication
In this article, we'll cover one very powerful yet simple way to secure a REST API using JSON Web Tokens (JWT), reviewing some...
Read more >Calling an API secured with a JSON Web Token (JWT) - IBM
JSON Web Token (JWT) is an open standard that defines a compact and URL-safe way to securely transmit information as a JSON object...
Read more >JSON Web Token Authentication
This topic provides information about authenticating REST API requests with JSON Web Token (JWT) authentication. For code that you can use to authenticate...
Read more >API keys vs JWT authorization: Which is best? | Algolia Blog
Sometimes, API keys are sufficient; more often, JWT (JSON Web ... As described in the next sections, JWT centralizes authentication ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@darkedges: great questions, thank you. Let me put some more color to these statements:
Regarding not verifying the token in this layer: How we currently envision the Ledger API Authentication story to pan out is the following:
On the topic of requiring unencrypted tokens, this is mostly a “restriction” for convenience in the experimental stage of the High Level API. We are aware that it is practice to put some claims into the unencrypted header.
This is mostly just a preview of what is to come in the next couple of weeks, as we spec out the Ledger API authentication story for the whole stack.
See #2658