Hi Guys, Is there a way to open a page in Rollbase in which you are automatically logged in? E.g: From a HREF of a different domain user clicks on a link or is redirected to a Rollbase Page when it goes to Rollbase you are automatically logged in and in the current page view
Yes, there is an example of this URL in Chapter 11.
Hi Pavel,
I have read chapter 11 over and over and I cant seem to see how to do this.
Changing the Access Control Layer (ACL) organization wide is not what i am looking for.. I know that it stores your authentication via session cookies however if you do not have a previous session open this will prompt you for login access.
I am asking you is there a way in Rollbase to Automatically Login and be redirected to a Page as a logged in User..
Sample:
https://www.rollbase.com/router/login/login.jsp?loginName=TestUser&password=mypassword
If you go to that page it already supplies the login name but not the password so you are not logged in..
what I am trying to do is supply an address in the browser that when the webpage opens it opens the pageid that you reference and you are authenticated.
sample URL:
https://www.rollbase.com/prod1/m/main.jsp?pageId=9802056&tabId=9802266&id=11907508
This ask for authentication:
I want to supply the username and password like so:
https://www.rollbase.com/prod1/m/main
Yes, I may have missed this.
Please try this URL
https://www.rollbase.com/router/servlet/Router?act=login&loginName=LOGIN_NAME&password=PASSWORD
Great, Thanks a lot Pavel the link you gave is working it redirects my browser logged in to the main page. however I also need to open a specific page.. how should I supply it to the address so it will redirect to a specific page / record?
For specific page add:
&pageId=PAGE_ID&id=RECORD_ID
(if you need to view a record). Please note that login through URL is not secure and will not be officially supported by Rollbase through UI helpers.
Actually, since login through email is becoming a hot topic we may need to provide some sort of session tokens for secure login. Let me think about it.
Hi Pavel,
Any updates on this?
I also tried doing what you suggested..
https://www.rollbase.com/router/servlet/Router?act=login&loginName=LOGIN_NAME&password=PASSWORD&pageId=PAGE_ID&id=RECORD_ID
appending the pageId and the recordId.. it does not redirect me to the record.
I've implemented one-click secure login. Please check updated Chapter 11.
Hi,
I have the same issue with redirect to the application/page. The login works ok but the redirect is to the latest application opened by the user, not the one added in the URL.
I tried something like
http://{!hostName}/router/servlet/Router?act=login&loginName=LOGIN_NAME&password=PWD&appId=APP_ID&tabId=TAB_ID&pageId=PAGE_ID
but the redirect points to the same page regardless of the different ids set.