TheNetworg/oauth2-azure

Class "TheNetworg\OAuth2\Provider\Azure" not found

muhamadnazmi99 opened this issue · 1 comments

get the error after implement Authorization Code Flow and when i include require_once DIR . '/vendor/autoload.php';
its show require_once(C:\xxxxxxxxxxxxx\wwwroot\app\Http\Controllers/vendor/autoload.php): Failed to open stream: No such file or directory.

Is this for a Laravel application? If so, it already autoloads composer (in public/index.php); you'd require thenetworg/oauth2-azure at the repository root ("C:\xx\wwwroot" in your case)