Allow to configure SAML auth acceptedClockSkewMs

Signed-off-by: Stéphane MORI <stephane.mori@gmail.com>
This commit is contained in:
Stéphane MORI
2021-07-26 14:22:12 +02:00
committed by blam
parent 29e3c15ee5
commit 6192b5e1c7
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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,