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

Anonymous or Public access.

SOLVED
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
Highlighted

Re: Anonymous or Public access.

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

Tags (1)
1 REPLY 1
Highlighted

Re: Anonymous or Public access.

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

Tags (1)
Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!