Allow to configure SAML auth acceptedClockSkewMs
Signed-off-by: Stéphane MORI <stephane.mori@gmail.com>
This commit is contained in:
Vendored
+1
@@ -53,6 +53,7 @@ export interface Config {
|
||||
decryptionPvk?: string;
|
||||
signatureAlgorithm?: 'sha256' | 'sha512';
|
||||
digestAlgorithm?: string;
|
||||
acceptedClockSkewMs: number;
|
||||
};
|
||||
okta?: {
|
||||
[authEnv: string]: { [key: string]: string };
|
||||
|
||||
@@ -132,6 +132,7 @@ export const createSamlProvider = (
|
||||
| SignatureAlgorithm
|
||||
| undefined,
|
||||
digestAlgorithm: config.getOptionalString('digestAlgorithm'),
|
||||
acceptedClockSkewMs: config.getOptionalNumber('acceptedClockSkewMs'),
|
||||
|
||||
tokenIssuer,
|
||||
appUrl: globalConfig.appUrl,
|
||||
|
||||
Reference in New Issue
Block a user