Laravel SAML Single Sign-On (SSO) plugin gives the ability to enable SAML Single Sign-On for your laravel applications. Using Single Sign-On you can use only one password to access your laravel application and services. Our plugin is compatible with all the SAML compliant Identity providers. Here we will go through a step-by-step guide to configure Single Sign-On (SSO) between Laravel and Salesforce considering Salesforce as IdP.
composer require miniorange/saml-laravel-free
Note: If you are using Laravel 5.4 or below, you will need to add the following value to the 'providers' array in your app.php file which can be found in the project\config folder :provider\ssoServiceProvider::class (You can check your current Laravel version by using the command php artisan --version.)
|Connected App Name||Provide a name for Connected App|
|API Name||Provide a API name|
|Contact Email||Provide a Contact Email|
|Entity ID||SP-EntityID / Issuer from Service Provider Metadata tab of the Plugin|
|ACS URL||ACS (AssertionConsumerService) URL from Service Provider Metadata tab of the Plugin|
|Name ID Format||urn:oasis:names:tc:SAML:2.0:nameid-format:unspecified|
You have successfully configured Salesforce as SAML IdP (Identity Provider) for achieving Salesforce SSO login into your Laravel Site.
composer require laravel/ui
php artisan ui vue --auth
npm install && npm run dev
php artisan migrate
In this Guide, you have successfully configured Salesforce SAML Single Sign-On (Salesforce SSO Login) choosing Salesforce as IdP and Laravel as SP using miniOrange plugin-SAML Single Sign On – SSO Login. This solution ensures that you are ready to roll out secure access to your Laravel site using Salesforce login credentials within minutes.
Need Help? We are right here!