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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Anonymous or Public access.

tvandenb
1-Newbie

Anonymous or Public access.

How to allow anonymous access for a mashup? Or in other words, how do I create a mashup that is viewable for the public without login.

1 ACCEPTED SOLUTION

Accepted Solutions
Aanjan
9-Granite
(To:tvandenb)

You can create a user with permissions to that specific Mashup (along with any related entities), and then create an appKey based on that user. Once you have an appKey, you can access the Mashup at, for example,


localhost/Thingworx/Mashups/Name_of_Mashup?&appKey=appKey_you_created&x-thingworx-session=true


The x-thingworx-session parameter here would persist the user session across the Mashup and others attached to it.

Once again, please note that the created appKey, based on the user, will have access to everything that user has. So, it would be a bad practice to create one based on the Administrator, as it would have pretty much have complete access.

View solution in original post

1 REPLY 1
Aanjan
9-Granite
(To:tvandenb)

You can create a user with permissions to that specific Mashup (along with any related entities), and then create an appKey based on that user. Once you have an appKey, you can access the Mashup at, for example,


localhost/Thingworx/Mashups/Name_of_Mashup?&appKey=appKey_you_created&x-thingworx-session=true


The x-thingworx-session parameter here would persist the user session across the Mashup and others attached to it.

Once again, please note that the created appKey, based on the user, will have access to everything that user has. So, it would be a bad practice to create one based on the Administrator, as it would have pretty much have complete access.

Top Tags