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

Community Tip - You can change your system assigned username to something more personal in your community settings. 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-Visitor

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
12-Amethyst
(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-Visitor
(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.

Announcements


Top Tags