Class "TheNetworg\OAuth2\Provider\Azure" not found
muhamadnazmi99 opened this issue · 1 comments
muhamadnazmi99 commented
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.
chrisforrence commented
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)