1 Reply Latest reply on Sep 15, 2015 12:43 PM by aanjan RSS
    thomasv Apprentice

    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.

      • Re: Anonymous or Public access.
        aanjan Heavyweight Champ

        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.