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 Okta considering Okta 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.)
|Single Sign On
|ACS (AssertionConsumerService) URL from the Service Provider Metadata tab of the
(SP Entity ID)
|SP Entity ID / Issuer from the Service Provider Metadata tab of the Plugin|
|Relay State from the Service Provider Metadata tab of the Plugin|
|Select E-Mail Address as a Name Id from dropdown list|
In this Guide, you have successfully configured Okta SAML Single Sign-On (Okta SSO Login) choosing Okta 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 Okta login credentials within minutes.
Need Help? We are right here!