How to revoke users from accessing the Main Portal?

Hi.

I have a webpage that allows users to enter their credentials and then logs them into my live Bonitasoft application using REST authorization. Once successfully logged in, the webpage then redirects them to an application page (say http://xyz.com/bonita/apps/MainPage).

At this point in time, the user is authenticated but if he/she decides to enter "http://xyz.com/bonita/" as the URL into the browser, they are redirected to the main Bonita Portal. 

I want to stop the users from accessing the Portal Main page (even if they have been authenticated) and would only want them to access the application page. Is there any way I can do this?

I've been stuck on this for quite some time now so any help would be greatly appreciated. 

Hi,

maybe this page can help you : https://documentation.bonitasoft.com/bonita/7.11/rest-api-authentication

In the Login session part introducing the request, you can configure the redirection

redirect: true or false. false indicates that the service should not redirect to Bonita Portal (after a successful login) or to the login page (after a login failure).
redirectURL: the URL of the page to be displayed after login

I hope this will help you