A alternative solution is to use the SAML continuation (cont) parameter, which is supported by the Mendix SAML module. Instead of trying to access /sso/p/pagenamedashboard directly, you can redirect users to an SSO login URL that includes the target page as a continuation, for example, SSO/login?f=true&cont=link/p/pagenamedashboard. With this approach, when the user accesses the URL, SSO authentication is triggered automatically and, after a successful login, Mendix redirects the user back to the deep link defined in the cont parameter (in this case, the dashboard page configured via Page URL). This pattern is discussed in the Mendix Community and is commonly used to support SSO combined with deep linking, as explained here.