This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

Redirection in VisionX Webapp project

Frequently asked questions about VisionX.

Redirection in VisionX Webapp project

Postby loknath » Mon Aug 19, 2019 8:42 am

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.
loknath
 
Posts: 5
Joined: Tue Jul 23, 2019 10:31 am

Re: Redirection in VisionX Webapp project

Postby Support@SIB » Mon Aug 26, 2019 11:53 am

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.
User avatar
Support@SIB
 
Posts: 344
Joined: Mon Sep 28, 2009 1:56 pm


Return to VisionX