Skip to main content
1-Visitor
July 30, 2016
Question

How to append username and password in the url of mashup so that we can directky open the mashup without any authentication

  • July 30, 2016
  • 1 reply
  • 3304 views

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

1 reply

1-Visitor
July 30, 2016

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

psaxena1-VisitorAuthor
1-Visitor
August 1, 2016

I tried the same but when the url is opened on new system it does ask for username and password

1-Visitor
August 1, 2016

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.