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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

How to log off

xavierh
1-Visitor

How to log off

Hi, we are trying to implement a log off functionality, what is the best way to do this? 


Currently we do not have a log in screen, we use the log in pop up that Thingwoxs gives so is it possible to have a unsecured page as log in screen and the log off functionality redirect to that one?


Please let me know your comments/



3 REPLIES 3
grahamall
2-Explorer
(To:xavierh)

From elsewhere on this site:

Call <YourServerName>/Thingworx/Server/*/Services/Logout?method=post


If you place the url in a Link within a mashup up an log out.  I can't find a service to read <YourServerName> but if there is one it would make switching from duv to test and production easier.





km-2
4-Participant
(To:grahamall)

Hi Allan,

The above method helps to logoff.

Could you please explain /Thingworx/Server/*/Services/Logout?method=post ​use of this command.


thanks,

Kishore.M


xavierh
1-Visitor
(To:xavierh)

Hi thanks for your response, first is it possible to know the name of the server by a service? or it has to be hardcode it?

And What about a log in screen? is it possible to have a Mashup to Log in the users? or what is the best way to do this?

Announcements


Top Tags