PHP code example of hakkahio / laravel-azure-ad-oauth-laravel-8

1. Go to this page and download the library: Download hakkahio/laravel-azure-ad-oauth-laravel-8 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/ */

    

hakkahio / laravel-azure-ad-oauth-laravel-8 example snippets


php artisan vendor publish

\hakkahio\AzureSocialite\UserFactory::userCallback(function($new_user){
	$new_user->api_token = str_random(60);
});