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

is it possible change user through mashup?

SOLVED
Highlighted

is it possible change user through mashup?

hi, i'm seonho

is it possible change user through mashup?

for example, i login 'A' User

and mashup has two text box and button(navigate)

a 'B' user ID and password  input to text box

and click button(navigate) then user change

it looks similar FormLogin

is it possible? if so how to?

thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: is it possible change user through mashup?

To my knowledge since you can only have one session at a time, you can't do it without first logging out one user then logging in as the other user.

(You can use a server side service to end a user session so it isn't just the logout service)

View solution in original post

3 REPLIES 3
Highlighted

Re: is it possible change user through mashup?

What is the use case?

I've seen people create Registration style mashups using an AppKey which then allows a user to register first.

After that it logs them out and redirects them to a new page where they officially log in.

Is that what you are trying to accomplish?

I think if that is what you want to do?

Personally if you wanted someone to be logged out and another person be logged in, I would always do it in 'two steps' session closed, and they land at a login page.

Highlighted

Re: is it possible change user through mashup?

I'm sorry I did not give you enough explanation.

My intention is to be able to change users without logging out.

You can account in specific page(MashUp) using the AppKey.

The AppKey reference a user.

If you use AppKey to access a specific page, you will be logged in to Thingworx as a user referencing Appkey.

A good way to change a user is to sign out and redirect to a different login page.

But I wonder if I can change a user with a user ID and password without a widget called logout. (Service or event)

Highlighted

Re: is it possible change user through mashup?

To my knowledge since you can only have one session at a time, you can't do it without first logging out one user then logging in as the other user.

(You can use a server side service to end a user session so it isn't just the logout service)

View solution in original post

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!