SSO SAML integration with Thingworx 9.3.4 using OKTA.
I am working on SSO SAML integration with Thingworx 9.3.4 using OKTA. and stuck with the below thingworx error apperating in Application log.
Need advice on what might be the issue. I have double checked and validated the path, permission, password mentioned in KeyManagerSettings json parameter in sso-settings.json file.
The error:
WebApp starting...
2025-09-19 13:31:13.071+0530 [L: INFO] [O: c.t.s.ThingWorxPersistenceHandler] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Default Persistence Provider Name = ThingworxPersistenceProvider
2025-09-19 13:31:13.071+0530 [L: INFO] [O: c.t.s.ThingWorxPersistenceHandler] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Default Persistence Provider Package Name = PostgresPersistenceProviderPackage
2025-09-19 13:31:13.076+0530 [L: INFO] [O: c.t.p.p.PostgresDatasource] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Reading configuration from configTableCol
2025-09-19 13:31:13.230+0530 [L: INFO] [O: c.t.p.p.PostgresDatasource] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] INITIALIZED network settings on datasource - networkTimeout=900000 milliseconds, networkTimeoutExecutorThreads=10
2025-09-19 13:31:13.409+0530 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Datastore database...INITIALIZED
2025-09-19 13:31:13.503+0530 [L: INFO] [O: c.t.s.SecurityManagerBootstrapper] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] initializing KeyStore provider
2025-09-19 13:31:13.503+0530 [L: INFO] [O: c.t.s.u.SecureTokenUtils] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Creating new keystore password file at /opt/ThingWorxFoundation/ThingworxPlatform/ssoSecurityConfig/keystore-password
2025-09-19 13:31:13.503+0530 [L: INFO] [O: c.t.s.u.SecureTokenUtils] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Writing keystore password file at /opt/ThingWorxFoundation/ThingworxPlatform/ssoSecurityConfig/keystore-password
2025-09-19 13:31:13.510+0530 [L: ERROR] [O: c.t.s.SecurityManagerBootstrapper] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Unable to load SecretProvider, {}
2025-09-19 13:31:13.510+0530 [L: ERROR] [O: c.t.s.SecurityManagerBootstrapper] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Failed to create SecurityManager, Failed to load SecretProvider
2025-09-19 13:31:13.514+0530 [L: INFO] [O: c.t.s.SecurityManagerBootstrapper] [I: ] [U: ] [S: ] [P: ] [T: main] initializing KeyStore provider
2025-09-19 13:31:13.518+0530 [L: ERROR] [O: c.t.s.SecurityManagerBootstrapper] [I: ] [U: ] [S: ] [P: ] [T: main] Unable to load SecretProvider, {}
2025-09-19 13:31:13.518+0530 [L: ERROR] [O: c.t.s.SecurityManagerBootstrapper] [I: ] [U: ] [S: ] [P: ] [T: main] Failed to create SecurityManager, Failed to load SecretProvider
2025-09-19 13:31:13.519+0530 [L: ERROR] [O: o.s.w.c.ContextLoader] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Context initialization failed
2025-09-19 13:31:13.520+0530 [L: INFO] [O: c.t.p.p.PersistenceProvider] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Connection ThingworxPersistenceProvider, type PostgresPersistenceProviderPackage stopped
2025-09-19 13:31:13.521+0530 [L: WARN] [O: c.t.p.p.PersistenceProvider] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Could not find persistenceProviderPackage PostgresPersistenceProviderPackage and thus could not stop data processing
2025-09-19 13:31:13.523+0530 [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] *** CRITICAL ERROR ON STARTUP: Severe error in Custom Context Loader Listener: Failed to retrieve SSOContext
2025-09-19 13:31:13.523+0530 [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] *** Web Application STATE is being set to ERROR! ***
2025-09-19 13:31:13.523+0530 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] >>>>>>> PLATFORM SHUTDOWN START <<<<<<<<<

