Question
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.
Question:
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:

