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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

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

psaxena
1-Newbie

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

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

5 REPLIES 5
alexe1
1-Newbie
(To:psaxena)

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

psaxena
1-Newbie
(To:alexe1)

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.

Top Tags