This changelog references the relevant changes done in 2.x versions.
- Uses
"gdbots/iam": "^2.1"
- Uses
"gdbots/ncr-bundle": "^2.1"
- Use
TokenVerifier
instead ofIdTokenVerifier
inAuth0JwtDecoder::decodeRS256
because we are validating an access token not an id token.
BREAKING CHANGES
- Upgrade to support Symfony 5 and PHP 7.4.
- Uses
"gdbots/iam": "^2.0"
- Uses
"gdbots/ncr": "^2.0"
- Supports
"auth0/auth0-php": "^7.0"
- Adds ncr permission checks in
PbjxPermissionValidator
. Commands and requests with node_ref(s) will translate into a permission in the format ofvendor:label:action
, e.g.acme:article:publish
. This is in addition to the message permission check itselfgdbots:ncr:command:publish-node
. This is being done to eliminate the need to implement all the ncr commands/events/requests at the app level but still have precise permission controls. - Adds
AUTH0_CURRENT_SIGNING_SECRET
andAUTH0_NEXT_SIGNING_SECRET
which gives theAuth0JwtDecoder
simple key rotation capability.