Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
we want to open mashup directly from mashup using url. So how to append username and password or appkey in the url so that no authentication is required onthe opening the mashup
pretty straightforward, link will look something like:
host.com/Thingworx/Mashups/yourMashupName?appKey=(insert appKey here)&x-thingworx-session=true
remembering the x-thingworx-session=true part is key here
I tried the same but when the url is opened on new system it does ask for username and password
Hi Priyanshi,
To use what Alex referred, you should create an "Application Key" you will find Application Keys on Composer at the bottom, once created the Application Key and assigned to one user, you can authenticate with the appKey ( Token ) using the URL that Alex passed you.
Best Regards,
Carles.
what does x-thingworx-session=true stand for, what is x over here?
You should pass x-thingworx-session=true when using appKey as authentication method, in order to start a correct session on the browser.