Skip to main content
1-Visitor
April 12, 2019
Question

Access any Mashup without TWX server credentials

  • April 12, 2019
  • 1 reply
  • 3576 views

Need to remove the TWX login popup once i open any mashup- Is there any way with which i can access the mashup directly without having the pop which ask for the TWX server credentials.

 

Basically i want to open any mashup without the TWX server credentials popup (attaching the screenshot as well). Can i pass those details with the url or do some changes in the backend (apache). Have already tried using app key but it does not solve the issue.

 

Please help....

 

 

1 reply

17-Peridot
April 12, 2019

Can use application key to access mashups but not recommended.

 

Thanks,

Sathishkumar C.

shussain11-VisitorAuthor
1-Visitor
April 12, 2019

Hi Satish,

 

Thanks for your reply. I have already tried using it and it works fine if i have already logged into TWX IDE else it will ask the same details.

 

But in my case i will be directly hitting the Mashup url directly without accessing the TWX IDE server. As i will be sharing the same url to my mates to show the demo to others.

 

Regards,

Saddam

5-Regular Member
April 12, 2019

This can be done with an appKey, as discussed above, as long as you have enabled in your PlatformSettings subsystem configuration (or are passing the appKey as the header.) 

 

The API call / link given should look like:

 

http<s>://<host:port>/Thingworx/Mashups/<mashupName>?appKey=<key>&x-thingworx-session=true<&optionalMashupParams>

 

The User for the Application Key will need proper credentials to load the mashup and any services, styles, etc, therein.