Page 1 of 1

Redirection in VisionX Webapp project

PostPosted: Mon Aug 19, 2019 8:42 am
by loknath
I created a webapp application using VisionX and its running on url -> http://localhost:8081/OauthSample4/web/ui#WelcomeScreen

I want to other application (say Google) to redirect on HomeScreen. # is not a valid keyword for google. Below is working fine.

Code: Select all
private static final String CALLBACK_URI = "http://localhost:8081/OauthSample4/web/ui";


But i need redirection on specific page.

Re: Redirection in VisionX Webapp project

PostPosted: Mon Aug 26, 2019 11:53 am
by Support@SIB
The redirection with # is not possible, but this isn't a big problem. Simply save the redirect-screen/name temporary in your application, before you start the authentication process... And after authentication, read the cached information and open the screen....

But I guess you do something wrong, because the authentication should be done before login? So, simply add the authentication handling to the login dialog and redirect to a welcome screen or a custom screen, after login is successful.