laravel / socialite

Laravel wrapper around OAuth 1 & OAuth 2 libraries.

Home Page:https://laravel.com/docs/socialite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twitter login - Error when getting temporary credentials.

ariandemnika opened this issue · comments

commented

I've tried both OAuth 1.0 and 2.0, none works. It just stopped working like 2 months ago i guess.
Im getting this error:

Using OAuth 1.0 Keys

[2023-06-02 22:51:36] production.ERROR: Received HTTP status code [403] with message "<?xml version='1.0' encoding='UTF-8'?><errors><error code="415">Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings</error></errors>" when getting temporary credentials. {"exception":"[object] (League\\OAuth1\\Client\\Credentials\\CredentialsException(code: 0): Received HTTP status code [403] with message \"<?xml version='1.0' encoding='UTF-8'?><errors><error code=\"415\">Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings</error></errors>\" when getting temporary credentials. at /var/www/vhosts/example.com/httpdocs/vendor/league/oauth1-client/src/Server/Server.php:446)
[stacktrace]

Using OAuth 2.0 Keys

[2023-06-02 22:48:30] production.ERROR: Received HTTP status code [401] with message "{"errors":[{"code":32,"message":"Could not authenticate you."}]}" when getting temporary credentials. {"exception":"[object] (League\\OAuth1\\Client\\Credentials\\CredentialsException(code: 0): Received HTTP status code [401] with message \"{\"errors\":[{\"code\":32,\"message\":\"Could not authenticate you.\"}]}\" when getting temporary credentials. at /var/www/vhosts/example.com/httpdocs/vendor/league/oauth1-client/src/Server/Server.php:446)
[stacktrace]

happen to me as well

Please resubmit this with a filled out issue template.