How to Open a Dashboard in Linking Without Login Everytime
When enabling a link with a URL and configuring the “pop-up” in the Target property, users may encounter a login page within the pop-up. After entering their login credentials, they may find that they are unable to log in. Additionally, users may not want to log in every time if they already have an instance open in the browser. They should be directed straight to the URL instead.
Cause of the Issue
The issue arises because the pop-up view opens the link in an iframe within the page. By default, different domain links do not have cookie sharing enabled. This restriction has been recently implemented by browsers, as stated in tdraft-west-cookie-samesite-firstparty-01 (ietf.org).
Solution
In order to load the page without navigating to the login page, you need to mark the cookie attribute as SameSite=None
. By doing so, the browser will be able to share cookies between different domains and prevent the login issue.
Here is an article that explains the behavior of the SameSite cookie attribute in detail and the changes that need to be made by the application: SameSite Cookie Recipes (web.dev)
By implementing the suggested changes, users will be able to access the desired URL directly without encountering the login page in the pop-up.