dbp / relay-keycloak-bundle
This package is abandoned and no longer maintained.
The author suggests using the dbp/relay-auth-bundle package instead.
v0.1.1
2021-08-03 09:19 UTC
Requires
- php: ^7.3
- ext-json: *
- dbp/relay-core-bundle: ^0.1.10
- guzzlehttp/guzzle: ^7.0
- kevinrob/guzzle-cache-middleware: ^3.3
- symfony/framework-bundle: ^5.2
- symfony/security-core: ^5.2
- symfony/yaml: ^5.2
- web-token/jwt-easy: ^2.1
- web-token/jwt-signature-algorithm-rsa: ^2.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- phpstan/phpstan: ^0.12.33
- phpstan/phpstan-phpunit: ^0.12.13
- symfony/browser-kit: ^5.3
- symfony/http-client: ^5.3
- symfony/phpunit-bridge: ^5.2
- vimeo/psalm: ^4.4
This package is auto-updated.
Last update: 2021-10-07 14:05:32 UTC
README
Bundle Configuration
created via ./bin/console config:dump-reference DbpRelayAuthBundle | sed '/^$/d'
# Default configuration for "DbpRelayAuthBundle"
dbp_relay_auth:
# The Keycloak server URL
server_url: ~ # Example: 'https://keycloak.example.com/auth'
# The Keycloak Realm
realm: ~ # Example: myrealm
# The ID for the keycloak client (authorization code flow) used for API docs or similar
frontend_client_id: ~ # Example: client-docs
# If remote validation should be used. If set to false the token signature will
# be only checked locally and not send to the keycloak server
remote_validation: false
# The ID of the client (client credentials flow) used for remote token validation
# (optional)
remote_validation_client_id: ~ # Example: client-token-check
# The client secret for the client referenced by client_id (optional)
remote_validation_client_secret: ~ # Example: mysecret
# If set only tokens which contain this audience are accepted (optional)
required_audience: ~ # Example: my-api
# How much the system time of the API server and the Keycloak server
# can be out of sync (in seconds). Used for local token validation.
local_validation_leeway: 120