chg: [keycloak] added screw to loosen timing issues
parent
58e32782ca
commit
136148705a
|
@ -118,6 +118,7 @@ class Application extends BaseApplication implements AuthenticationServiceProvid
|
|||
'collectionFactory' => null,
|
||||
'logErrors' => true,
|
||||
]));
|
||||
\SocialConnect\JWX\JWT::$screw = Configure::check('keycloak.screw') ? Configure::read('keycloak.screw') : 0;
|
||||
}
|
||||
$middlewareQueue->add(new AuthenticationMiddleware($this))
|
||||
->add(new BodyParserMiddleware());
|
||||
|
|
|
@ -211,6 +211,13 @@ class CerebrateSettingsProvider extends BaseSettingsProvider
|
|||
},
|
||||
'dependsOn' => 'keycloak.enabled'
|
||||
],
|
||||
'keycloak.screw' => [
|
||||
'name' => 'Screw',
|
||||
'type' => 'string',
|
||||
'severity' => 'info',
|
||||
'default' => 0,
|
||||
'description' => __('The misalignment allowed when validating JWT tokens between cerebrate and keycloak. Whilst crisp timings are essential for any timing push, perfect timing is only achievable by GSL participants. (given in seconds)')
|
||||
],
|
||||
'keycloak.mapping.org_uuid' => [
|
||||
'name' => 'org_uuid mapping',
|
||||
'type' => 'string',
|
||||
|
|
Loading…
Reference in New Issue