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

Form based login

Newbie

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.

    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:
    1 REPLY 1

    Re: Form based login

    I am also interested in this. I want to know how to handle invalid credentials redirects in my custom UI instead of going to FormLogin Page of organization.