I have implemented a custom login page that utilizes portal user credentials to generate a token for authentication. The challenge I am currently facing is determining the method for passing this token to a web app builder application built on the ArcGIS portal, allowing users to access the application without the need to re-enter their credentials. The app is shared within the organization, and every user within the ArcGIS portal should have access to it. The issue is that the portal is not detecting that the user is logged in via the custom login page.