CMSMART COMMUNITY
M2 SSO | Magento 2 SAML Single Sign On Extension
When our User is logging into the System which we have configured for SSO, they land at an undesired page. How do I make the Users go to a certain page after they login? Is this a configurable field to change the Landing Page?
Andrea Sansotta Insight
iDP Identity and SAML Endpoint
reply,
created by Andrea Sansotta
PHP Version Requirement
reply,
created by Andrea Sansotta
Oops! The following errors occurred with your submission:
WE ARE IN LOVE WITH CLIENT
Recently, we discovered how client loving working with us by their 5 star recommedation
Ecommerce Solution
DEVELOPMENT Services
Since 2012 we aim to become the leader in providing completed ecommerce solutions to SMB business around the world. Today we have been supporting over 50,000+ clients and work for 2,300+ projects on different aspect of development services for your ecommerce business. Become trusted partner and grow up with your business is our sole priority.
91 Nguyen Chi Thanh Str, Dong Da Dist, Hanoi, Vietnam
Email: [email protected] | WhatsApp: +84 978 847 058 | +84 963 296 509
Netbase Company (JSC). Copyright © 2012-2024 Cmsmart.net. All Rights Reserved.
Top
Hi Andrea,
this is not configurable by the SAML admin panel right now (maybe I will include that functionality in a future release).
but you can custommize the SAML Extension. If you go to the Magento root path and edit the file:
code/community/Onelogin/SAML/Helper/Data.php
at the bottom of the processSSO method there are 2 lines that redefines the $urlToGo var:
$urlToGo = Mage::getUrl('customer/address/edit/id/'.$customAddress->getId());
and
$urlToGo = Mage::getUrl('customer/address/new');
simply comment them, and the user will be redirected to the default page of the site, or to the RelayState URL if there is any.
also if you want to redirect to a specific account you can specify it....
I published the 1.1.5 version that supports what you were asking for.