• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Can't login using Twitter (UTF8MB4 issue on login table)

john365

Chevereto Member
🎯Description of the issue

After the latest update to version 3.13.3 I noticed that I can't use Twitter login despite no change. It had worked before that.

▶🚶‍Reproduction steps

Go to Sign-in and click on Twitter to login.

😢Unexpected result

Using a computer browser or mobile, same error.

📃Error log message

Fatal error [0]: {"errors":[{"code":415,"message":"Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings"}]}
Triggered in /app/vendor/abraham/twitteroauth/src/TwitterOAuth.php at line 168

Stack trace:
#0 /app/routes/route.connect.php(146): Abraham\TwitterOAuth\TwitterOAuth->oauth('oauth/request_token', Array)
#1 /lib/G/classes/class.handler.php(232): G\Handler->{closure}(G\Handler)
#2 /lib/G/classes/class.handler.php(132): G\Handler->processRequest()
#3 /app/loader.php(788): G\Handler->__construct(Array)
#4 /index.php(20): include_once('/app/loader.php')
 
Hi Rodolfo,

Thanks for taking a look at my issue.

Using my desktop computer, it seems to be working in Google Chrome.

However, using my mobile phone, Firefox, Internet Edge and Brave browser does not work.

I've also tried clearing the cache as well just to see if that made a difference. I"m still getting the error below.

Fatal error [0]: {"errors":[{"code":415,"message":"Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings"}]}
Triggered in /app/vendor/abraham/twitteroauth/src/TwitterOAuth.php at line 168

Stack trace:
#0 /app/routes/route.connect.php(146): Abraham\TwitterOAuth\TwitterOAuth->oauth('oauth/request_token', Array)
#1 /lib/G/classes/class.handler.php(232): G\Handler->{closure}(G\Handler)
#2 /lib/G/classes/class.handler.php(132): G\Handler->processRequest()
#3 /app/loader.php(788): G\Handler->__construct(Array)
#4 /index.php(20): include_once('/app/loader.php')

Let me know.

Thanks,

John
 
I'm sorry but unable to reproduce the bug you are describing. Cache maybe?
 
Hi Rodolfo,

Hmm, it is very strange that using Google Chrome, I'm able to use Twitter sign-in, but using other browsers like Firefox, Internet Edge and Brave and some mobile it is hit or miss kind of situation.

Please try yourself as I've cleared the cache for the browsers in question to the beginning of time. Still error.

However, you did mention you update from utf-8 to utf8mb4, that should have helped with the emojis, but I never had a problem with emojis before.

And looking at the Twitter regarding callback, it is as you recommended otherwise it would not work with Google.

Maybe somehow the token being passed back is incomplete somehow.

Anyone else getting this error for signing in with Twitter using Firefox, IE, Brave or some smartphones?
 
I've detected the problem and the patch will be available in 3.13.4
 
Back
Top