cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

How to use appkey

Snoopy_hu
11-Garnet

How to use appkey

Hello everyone!

I have added the secret key when running Mashup why does the session box pop up to enter account and password still pops up企业微信截图_17096067192860.png企业微信截图_17096068736217.png

8 REPLIES 8
Velkumar
19-Tanzanite
(To:Snoopy_hu)

Hi @Snoopy_hu 

 

Have you enabled "Allow Application key as URL Parameter" in PlatformSubsystem

Velkumar_0-1709617778074.png

 

Also, I can see you used a different URL format

Velkumar_1-1709617814365.png

Please use the below format

https://<<HOSTNAME>>/Thingworx/Mashups/<<MashupName>>?appKey=<<APPKEY>>&x-thingworx-session=true

 

/VR

Hi @Velkumar ,

Yes, I have enabled "Allow Application key as URL Parameter" in PlatformSubsystem; and I've tried the format you recommended, but it still converts to the format I asked the question about at runtime.

企业微信截图_17096842517199.png企业微信截图_17096845383385.png企业微信截图_17096845599277.png

Velkumar
19-Tanzanite
(To:Snoopy_hu)

Hi @Snoopy_hu 

 

Yes does redirect to index.html page. It is the actual or intended functionality of Thingworx

 

/VR

Hi @Velkumar 

I just checked the documentation and unfortunately, for security reasons, the system has disabled the use of the APPKEY lookup feature in the new version.

企业微信截图_17097037911875.png

Velkumar
19-Tanzanite
(To:Snoopy_hu)

Hi @Snoopy_hu 

 

By default it is disabled but you can enable it in PlatformSubsystem

 

/VR

Hi @Velkumar 

I've turned it on, but it still won't run.Why is that?Please help me.企业微信截图_17097050697181.png

Velkumar
19-Tanzanite
(To:Snoopy_hu)

Hi @Snoopy_hu 

 

Is the Thingworx Instance enabled with SSO Authentication ?

 

If yes, please check this article - Article - CS279189 - How to Configure SSO Authentication and REST API Application Key Authentication Simultaneously in ThingWorx Platform (ptc.com)

 

/VR

OK,Thanks,

 I'll do my best to try.

Announcements


Top Tags