Make sure that you have configured the required settings for the OAuth client for ThingWorx as a Resource Provider. For more information, see the “Create PingFederate Connections: OAuth Client for ThingWorx as Resource Provider” section in
Configure ThingWorx as a Resource Provider when PingFederate is the CAS in the
ThingWorx Help Center.