Hello,
Scenario:
portalUser belongs to portalA, and portalB
portalUser is logged into portalA
in some view I have some code to go to portalB.
window.location.href = {portalBUrl};
Current Result:
If portalUser has not logged in to portalB, login screen is shown
If portalUser has logged into portalB, portal home screen is shown. I suppose this is cached in my browser somehow
Desired Result:
If portalUser has not logged into portalB, home screen is shown
To summarize, what client side code could I implement to automatically authenticate the portalUser to portalB given that they are already authenticated to portalA and belong to both portals?
I see there is some authentication info in this.getStorage(). Is there someway to use this to login to portalB silently before calling window.location.href = {portalBUrl} ?
Scenario:
portalUser belongs to portalA, and portalB
portalUser is logged into portalA
in some view I have some code to go to portalB.
window.location.href = {portalBUrl};
Current Result:
If portalUser has not logged in to portalB, login screen is shown
If portalUser has logged into portalB, portal home screen is shown. I suppose this is cached in my browser somehow
Desired Result:
If portalUser has not logged into portalB, home screen is shown
To summarize, what client side code could I implement to automatically authenticate the portalUser to portalB given that they are already authenticated to portalA and belong to both portals?
I see there is some authentication info in this.getStorage(). Is there someway to use this to login to portalB silently before calling window.location.href = {portalBUrl} ?
Comment