Facebook App Login Vaadin 8.

Hello

I am testing this class with Vaadin 8
https://github.com/scribejava/scribejava/blob/master/scribejava-apis/src/test/java/com/github/scribejava/apis/examples/FacebookExample.java
everything works fine untill i open the window with the given url in order to get the code, the problem is that the facebook redirects the url to something else and i cant get the now url from the webrowser window, any ideas how i can get this new url? After the window is opened vaadin dosent keep track if the url has changed

Can you share your code, for example, a Github link?