Releases: felixheck/hapi-auth-keycloak
Releases · felixheck/hapi-auth-keycloak
Fix Error Handling to Support All Hapi.js Auth Modes
Thanks a lot to @marttinen for creating the issue and firing the PR!
Hotfix: Defaults for Api-Key-Proxy
v3.2.1 3.2.1
Api-Key-Proxy
- it is possible to enable an api key interceptor proxying the request to an api key service which returns the temporary bearer token (https://github.com/felixheck/hapi-auth-keycloak#plugin-options >
apiKey
) - updated dependencies
Fix PKCS#8 & Certificates Handling
- no longer support PKCS#8 & certificates as
publicKey
- the plugin allowed those formats before but they didn't work
Fix Error Handling
v3.0.3 3.0.3
Fix Cache TTL
- replace
exp - iat
withexp - Date.now()
to expire the cache entry as soon as token expires
Support hapi v17
v3.0.1 3.0.1
Entitlement
- add entitlement for fine-grained authorization for both strategies
- add offline verification for "client ID + secret" strategy
- add online verification with JWKS for "client ID + secret" strategy
- fix user information field handling
- fix scope composing for other apps
- improve docs/example/tests
- refactor a lot
- update Dependencies
Hint: the options/API should be backwards compatible to v2.0.2
Certificates
- Allow Certificates in PEM format for
publicKey
- Minor refactorings
Signed JWTs
- enable to use signed JWTs as authentication strategy (offline & online using JWKS)
- restructure options: the options are not backwards compatible (!!!)
- improve documentation
- improve test specification and mocking