oauth2-demo-php
oauth2-demo-php copied to clipboard
failed to open stream auto-load error
PS C:\xampp-5\htdocs\myoauth> curl -u testclient:testpass http://localhost/myoauth/token.php -d 'grant_type=client_credentials'
<br />
<b>Warning</b>: require_once(oauth2-server-php/src/OAuth2/Autoloader.php): failed to open stream: No such file or directory in <b>C:\xampp-5\htdocs\myoauth\server.php</b> on line <b>12</b><br />
<br />
<b>Fatal error</b>: require_once(): Failed opening required 'oauth2-server-php/src/OAuth2/Autoloader.php' (include_path='C:\xampp-5\php\PEAR') in <b>C:\xampp-5\htdocs\myoauth\server.php</b> on line <b>12</b><br />
PS C:\xampp-5\htdocs\myoauth>
This error persisting from 2013 now it's 2018, How to fix it? Is this deprecated library ? This Issue (require autoload.php #18) is closed but problem still exist.