Merge pull request #6609 from stephane-mori/auth-backend-saml-clock-discrepancies
Auth backend saml clock discrepancies
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-auth-backend': patch
|
||||
---
|
||||
|
||||
Allow to configure SAML auth `acceptedClockSkewMs`
|
||||
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