Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Hi,
I am using the Application Key as of now to access services and Mashup for the end user. (Adding APP key in URL)
If I use the SSO moving forward, how can I access those services and Mashups now?
Thanks,
Solved! Go to Solution.
Tried following URL format in SSO enabled Thignworx 8.5.4 instance, it's working as expected.
https://<ThingWorxServer>:<ThingWorxPort>/Thingworx/Mashups/<MashupName>?appKey=<AppKey>&x-thingworx-session=true
Referred Accessing Mashups using Application Key (appKey) Authentication in ThingWorx
If you want to use SSO to access these Mashups or services you would have to use an oauth token (bearer token) in your authorization.
This way you can access ThingWorx Mashups or API.
Or you can also re-enable Appkey authorization together with SSO authorization in ThingWorx.
{ "BasicSettings": {... }, "ApplicationKeySettings": { "enabled": true }, ... }
With this help you could still access ThingWorx with appkey even if SSO is enabled
Hi @ThorstenMueller ,
Business use case over here is like... Mashup renders under a Different Portal. We use a Mashup URL with an Application key to Render in another portal.
If I use SSO, what should I use in Place of the Application Key in the URL because Auth will not work since Mashup is a Render for that Portal.
Thanks,
My expectation (never tested) is that if ThingWorx is setup for SSO, and when you are in that external portal you're already logged in, then you would not need to use the appKey at all, because when trying to access TW you'll use the same existing authorization token automatically, since you're already logged in via SSO.
However, it needs to be tested...
If you want to use SSO to access these Mashups or services you would have to use an oauth token (bearer token) in your authorization. This way you can access ThingWorx Mashups or API. Or you can also re-enable Appkey authorization together with SSO authorization in ThingWorx.
Tried following URL format in SSO enabled Thignworx 8.5.4 instance, it's working as expected.
https://<ThingWorxServer>:<ThingWorxPort>/Thingworx/Mashups/<MashupName>?appKey=<AppKey>&x-thingworx-session=true
Referred Accessing Mashups using Application Key (appKey) Authentication in ThingWorx