How to append username and password in the url of mashup so that we can directky open the mashup without any authentication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Labels:
-
Extensions
-
Install-Upgrade
-
Mashup-Widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I tried the same but when the url is opened on new system it does ask for username and password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
what does x-thingworx-session=true stand for, what is x over here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You should pass x-thingworx-session=true when using appKey as authentication method, in order to start a correct session on the browser.
