1 Reply Latest reply on May 19, 2016 11:51 AM by dprajapati RSS
    davidc Explorer

    Form based login

    If you logout of TWC then go to https://twc.thingworx.com (which redirects to https://twc.thingworx.com/Thingworx/twc_welcome.html), you'll see a form-based login screen. This collects the Name and Password then POSTs it to a url on the server.
      • When you supply valid credentials, you're logged in and everything is good.
      My customers can't handle server-based auth (it'll confuse them) so I must do it form-based.

      What can I do client-side (javascript, etc) to trap auth failures from the POST so I can handle it elegantly in my UI?

      Here's a fiddle that illustrates it outside the TWC site: