mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-21 01:37:15 +03:00
c7b5482e43
* Starting //ledger-service/jwt module adding //3rdparty/jvm/com/auth0:java_jwt dependency, there are Scala JWT libraries, however they are either immature or unsupported * Keys and JWT generator utility/wrapper, WIP * Keys and JWT generator utility/wrapper, WIP * RSA Keys generator * HMAC token validation added to command/create endpoint HMAC is actually not good, need RSA, this is a shortcut for DABL team. * Renaming * command/create test cases fixed to pass OAth2 Bearer token * removing unused method * JWT authorization for /command/exercise * the rest of the endpoints uses JWT authorization removed hardcoded JwtPayload * cleanup * cleanup * http status code in the header and in the json body should match now * NotFound would also return a json body now * Removing hardcoded JWT in the integration test it is generated using the JwtSigner.HMAC256 * cleanup * fixing error message * instructions for making a JWT HMAC token for dev
12 lines
133 B
Markdown
12 lines
133 B
Markdown
# JWT (JSON Web Token)
|
|
|
|
## How to generate JWT
|
|
|
|
TODO
|
|
|
|
|
|
## Links
|
|
|
|
- https://jwt.io/introduction/
|
|
- https://github.com/auth0/java-jwt
|