Skip to main content
1-Visitor
November 29, 2017
Solved

Redirect login to FormLogin

  • November 29, 2017
  • 2 replies
  • 8234 views

Hey guys,

I was wondering when you connect to ThingWorx via this link : server/ThingWorx

It asks you for your credentials.

I would like that previous link to be redirected to server/Thingworx/FormLogin/Everyone. How can I do that ?

With that, I can use a home mashup with the Everyone organization.

Then, whenever the session timeouts, I would like it to be redirected to the same URL (server/Thingworx/FormLogin/Everyone) How can I do that ?

I'm using PostgreSQL 9.4.15 & TOMCAT 8.5 and ThingWorx 8.0.5

    2 replies

    20-Turquoise
    November 29, 2017

    You may try this for the first part of your question:

    Configuring URL redirection for ThingWorx

    For the timeout redirect, not sure it is possible currently.

    fgrondin1-VisitorAuthor
    1-Visitor
    November 29, 2017

    Thank you for the quick reply.


    I was able to do the redirection.

    So now, whenever they type the server, it redirects to ThingWorx.

    Maybe it's unclear for the second part.

    instead of having this Authentication prompt message(img1), I would like to get to the FormLogin (img2) without having to type /FormLogin/Everyone

    I would like to redirect to this :

    20-Turquoise
    November 30, 2017

    I understand the requirement, however, I do not think it's currently possible with the form login. There should be an article on this, I'll look tomorrow during North America business hours and post a link here. You may try going the custom authenticator route although it would be a lot more involved.

    fgrondin1-VisitorAuthor
    1-Visitor
    November 30, 2017

    Okay, thank you.

    I know it is possible as my customer, who is using ThingWorx 6.5 is doing it.

    I would want to do the same for an internal server..

    I wanted to find out how to do it, instead of asking them.

    If you do find how to do it, it would be nice to let me know.

    Otherwise, I will ask my customer.

    posipova20-TurquoiseAnswer
    20-Turquoise
    November 30, 2017