Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
URL Call Back + RequestListener + FragmentListener
In my application I have a scenario where the user will be redirected to external url for authorization & will be redirected back to the application (by call back url) with some query parameters. These query parameters will be processed & the user will be redirected to the next page within the application.
I have a RequestListener added to my application & a FragmentListener added to my root.
If I have my call back url as http://<IP>/context/confirm then from my RequestListener I'm not able to redirect to the next page. I tried the code as below but it doesn't redirect.
root.open(new ExternalResource("http://localhost:8080/webapp"));
Also, if I have my call back url as http://<IP>/context#confirm then @ my RequestListener, the part #confirm?<queryparameters> is missing and the FragmentListener doesn't get invoked even if the RequestListener.handleRequest returns false.
Is there a way to solve this problem? I'm not able to figure out what I'm doing wrong here.
Thanks.