Hi everyone!
In order to understand Authorizations with daml ledger I would like to make a simple daml app using the Auth Middleware.
Is it possible to do so? If yes, is there any resources that could help me for this ?
Thanks,
Hi everyone!
In order to understand Authorizations with daml ledger I would like to make a simple daml app using the Auth Middleware.
Is it possible to do so? If yes, is there any resources that could help me for this ?
Thanks,
It is definitely possible to do so.
Note that you don’t necessarily have to use an Auth Middleware implementation (like the OAuth 2.0 Middleware that ships with the SDK) to work with authorization.
There are two main cases when it comes to handling Ledger API authorization tokens:
Hello,
Thank you for this answer.
My goal is to create a training for developers who want to create a project on Daml to have a global understanding of how Daml and Canton work and to use it as a basic template for any kind of project.
And for that I need the authorization part which is something I don’t master at all.
I have already done a whole part with the HTTP JSON API where indeed we use JWTs but these JWTs are all built in the same way so we only need to know the identifier of a party and we can pretend to be him towards the ledger.
I would like to set up a system that manages these authorizations that is as basic as possible so that it is easy to understand.
I have looked at the documentation but I must admit that I still have trouble understanding how it works