Article - CS274461

After SSO is enabled ThingWorx application fails to start

Modified: 05-Mar-2025   


Applies To

  • Windchill Navigate (formerly ThingWorx Navigate) 1.5.0 F000
  • ThingWorx Platform 8.4 F000 to 9.6

Description

  • ThingWorx was working without SSO
  • After SSO was enabled by setting EnableSSO: true in platform-settings.json, ThingWorx fails to start
  • ThingWorx log shows error message:
Caused by: com.thingworx.security.sso.SSOConfigurationException: Grants table does not exist 
[ Grants table does not exist ][ ERROR: relation "oauth_client_token" does not exist_  Position: 51 ]
  • ApplicationLog.log shows the below error:
2019-07-30 12:28:21.305+0200 [L: ERROR] [O: S.c.t.s.a.s.SSOSettings] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] [ Grants table does not exist ][ Invalid object name 'OAUTH_CLIENT_TOKEN'. ]
2019-07-30 12:28:21.305+0200 [L: ERROR] [O: S.c.t.w.c.ThreadLocalContext] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Failed to retrieve SSOContext
2019-07-30 12:28:21.305+0200 [L: ERROR] [O: S.c.t.s.a.s.SSOBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Severe error in Custom Context Loader Listener: Failed to retrieve SSOContext

 
This is a printer-friendly version of Article 274461 and may be out of date. For the latest version click CS274461