Twitter login - Error when getting temporary credentials.
ariandemnika opened this issue · comments
Arian commented
Socialite Version
5.2
Laravel Version
8.0
PHP Version
8.2.6
Database Driver & Version
No response
Description
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]
Steps To Reproduce
- Sent user to twitter on request.
- Get back with user info.
Dries Vints commented
Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:
However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.