PHP-OAuth2 icon indicating copy to clipboard operation
PHP-OAuth2 copied to clipboard

php oauth2 - gives error 401

Open msyadav88 opened this issue 9 years ago • 2 comments

I got code for php oauth2 from here https://github.com/adoy/PHP-OAuth2 I have created the test.php but when executing the script i got this error . http://172.16.1.26/test2/test.php?code=wxsthleqgbwwxs8iqeydmiuy4q2g2zygyjt1lt9m

Array ( [result] => You need to enter a Username and a Password if you want to see this website. [code] => 401 [content_type] => text/html; charset=utf-8 )

Please guide me.

msyadav88 avatar Sep 23 '15 13:09 msyadav88

On other demo , i got below error response Array ( [result] => Array ( [error] => invalid_request [error_description] => Unknown request ) [code] => 400 [content_type] => application/json ) I am executing the php auth code from local and the wordpress is on live. Is this is creating any problem?

msyadav88 avatar Sep 23 '15 18:09 msyadav88

same error

Array ( [result] => Array ( [error] => invalid_request [error_description] => Unknown request )

[code] => 400
[content_type] => application/json

)

akshayvinchurkar avatar Oct 25 '16 06:10 akshayvinchurkar