Skip to main content
1-Visitor
October 20, 2014
Question

How to log off

  • October 20, 2014
  • 2 replies
  • 2115 views

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/



    2 replies

    1-Visitor
    October 21, 2014

    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.





    1-Visitor
    July 26, 2017

    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


    xavierh1-VisitorAuthor
    1-Visitor
    October 21, 2014

    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?