RogerMoquin Posted November 14, 2016 Report Share Posted November 14, 2016 When a DataPage needing authentication is targeted I want the user to be redirected to /login.html when NOT authentificated. I used the code from step 2 in this thread, Is something missing ? Quote Link to comment Share on other sites More sharing options...
2 hctrr Posted December 20, 2018 Report Share Posted December 20, 2018 For anyone trying to accomplish this it is really easy. No need to use the method on the link posted above. Just open your authentication object in Caspio Bridge and expand the Advanced settings. Then set the Timeout option to Other Webpage and enter your standalone login page location. Then once your dashboard/main app page has at least one datapage that requires authentication and the user is not logged in they will be redirected to your standalone login page. Lepidoptera and GregL 1 1 Quote Link to comment Share on other sites More sharing options...
0 Mathilda Posted November 14, 2016 Report Share Posted November 14, 2016 31 minutes ago, RogerMoquin said: When a DataPage needing authentication is targeted I want the user to be redirected to /login.html when NOT authentificated. I used the code from step 2 in this thread, Is something missing ? You need to specify the designated entry page. Edit the authentication and expend the advanced settings. Then edit Timeout and redirection. In the Designated entry page: select go to a new page and paste an URL where you have deployed the login screen. Hope it helps hctrr 1 Quote Link to comment Share on other sites More sharing options...
0 AtayBalunbalunan Posted May 17, 2020 Report Share Posted May 17, 2020 Please refer to this thread to know more. Quote Link to comment Share on other sites More sharing options...
0 Kronos Posted October 20, 2023 Report Share Posted October 20, 2023 Hi, if you want to redirect users if they are using mobile or desktop you may try this solution: I hope this helps! Quote Link to comment Share on other sites More sharing options...
Question
RogerMoquin
When a DataPage needing authentication is targeted I want the user to be redirected to /login.html when NOT authentificated.
I used the code from step 2 in this thread,
Is something missing ?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.