Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Seamless relogin

    Using LGPL SmartGWT 3.1 and its RestDataSource, I'm trying to implement a seamless relogin mechanism in my application.

    I'm setting loginRequireCallback on RPCManager, which is called automatically on "login required" event to open a login window and redirect it to a login page.

    What I would like to be able to do is set a loginSuccessCallback which would be called automatically when "login success marker" is detected to close the login window without the user having to close it manually.

    What is the best way to implement this? Unfortunately, RPCManager is a static class so I can't just extend it. I'm guessing that I will need to modify RPCManager and build SmartGWT client from the source code... Or is there a simpler way to achieve my goal?

    Thanks for the great platform!

    #2
    The login page that I refer to is a Single Sign-On system that cannot be modified.

    SmartGWT provides everything I need to support a truly seamless relogin flow, except for an ability to customize the "login success" event handler...

    Comment


      #3
      Can someone from the support team please answer this?

      Comment

      Working...
      X