diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d872fc..6f3403a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,9 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +--- + +## [0.7.0] - 2023-12-22 + ### Added - Load configuration from the `LOCALAUTH0_CONFIG` environment variable +- Access tokens now contain a `sub`, `iss`, `nbf`, `iat` and `jti` fields. + + You can check the jwt spec for the meaning of those fields ### Changed @@ -144,7 +151,9 @@ Note: images temporairly use the public.ecr.aws/c6i9l4r6/localauth0 registry. -[Unreleased]: https://github.com/primait/localauth0/compare/0.6.2...HEAD + +[Unreleased]: https://github.com/primait/localauth0/compare/0.7.0...HEAD +[0.7.0]: https://github.com/primait/localauth0/compare/0.6.2...0.7.0 [0.6.2]: https://github.com/primait/localauth0/compare/0.6.1...0.6.2 [0.6.1]: https://github.com/primait/localauth0/compare/0.6.0...0.6.1 [0.6.0]: https://github.com/primait/localauth0/compare/0.5.0...0.6.0 diff --git a/Cargo.lock b/Cargo.lock index e8ca78d..c0e8dbd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -850,7 +850,7 @@ checksum = "e34f76eb3611940e0e7d53a9aaa4e6a3151f69541a282fd0dad5571420c53ff1" [[package]] name = "localauth0" -version = "0.6.2" +version = "0.7.0" dependencies = [ "actix-files", "actix-web", diff --git a/Cargo.toml b/Cargo.toml index 6bbf7e5..64d3ce6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "localauth0" -version = "0.6.2" +version = "0.7.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/README.md b/README.md index e6f800b..68dde98 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ With localauth0 you can fake your [auth0](https://auth0.com/) tenant and test it In order to run localauth0 docker image execute the following: ```shell -docker run -d -p 3000:3000 public.ecr.aws/primaassicurazioni/localauth0:0.6.2 +docker run -d -p 3000:3000 public.ecr.aws/primaassicurazioni/localauth0:0.7.0 ``` By default, the container exposes an http server on the port 3000 and an https one on port 3001. @@ -173,7 +173,7 @@ Add this snippet to your `docker-compose.yml` file and reference it in your app ```yaml auth0: - image: public.ecr.aws/primaassicurazioni/localauth0:0.6.2 + image: public.ecr.aws/primaassicurazioni/localauth0:0.7.0 environment: # Configure using an inline environment variable LOCALAUTH0_CONFIG: |