PHP code example of pochocho / okta-saml-sso

1. Go to this page and download the library: Download pochocho/okta-saml-sso library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

pochocho / okta-saml-sso example snippets


Route::post('/login', \Pochocho\OktaSamlSso\Http\Controllers\EncryptedLoginController::class)->name('login');

'auth' => \Pochocho\OktaSamlSso\Http\Middleware\SsoAuthenticate::class,

php artisan vendor:publish --tag=okta-saml-sso