Announcement

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

    Question re. SmartGWT and oauth

    Hi, I'm doing an oauth integration process for the first time.

    Basically, my simplified use case is this:

    1. the user is in my app, there's a button, "integrate with Service X". When the button is pressed, the user should be directed to the external site for authorization.

    2. the external app will redirect to a server url where I'll handle the response, do token fetch etc. and in the end I can do stuff on behalf of my user.

    ---

    The problem is that step 2 is a http request from the external site to my site. The smartGWT not part of the communication at this point, so it won't know the end result of my server url process.

    Now, I could tell the user "please reload the page to see if it worked", but I'd rather have something more user-friendly.

    Is there any functionality, examples or similar for how to handle this in a smartGWT app?

    I'm a noob here so thoughts are appreciated.
Working...
X