akeeba / sociallogin

Joomla!™ login and user account creation with Facebook, Google, GitHub etc social media accounts
30 stars 10 forks source link

Unable to log in with Twitter #93

Closed raulprietofdez closed 1 year ago

raulprietofdez commented 1 year ago

Steps to reproduce the issue

Visit https://www.raulprietofernandez.net/blog and Click on "Login con Twitter"

Expected result

Login with Twitter account

Actual result

If we login using Twitter, a error message is displayed and we're redirected to the / (website root)

Error message is displayed: image

Plugin config: image

Troubleshooting already performed

Mandatory information

Additional comments

I think there is something different ion Linkedin side....

nikosdion commented 1 year ago

It looks like Twitter removed the ability to have a callback URL for logging into a website, forcing you to use their JavaScript-based login method instead. Unfortunately, the whole point of having SocialLogin is to NOT use the privacy-invading JavaScript provided by social media networks.

As a result, I am going to remove the Twitter login from SocialLogin.

raulprietofdez commented 1 year ago

Hello Nikosdion:

I migrated from a different 3rd party plugin to your Social Akeeba Login and Twitter failed with the other 3rd party plugin too. It's a pity!

Regards and thanks for your help.

nikosdion commented 1 year ago

Yeah, it's a Twitter issue, not something any of us developers can fix on our end.

To give you an idea how stupid Twitter has gotten, the change is not documented anywhere. Moreover, they are throwing an error message in a completely different way than they have documented they should be throwing error messages — and in violation of the OAuth specification they allegedly implement. It's like an intern was told to "disable the f…ing thing YESTERDAY!" and haphazardly added a quick die statement in the code to appease the ~mentally unstable overlord with a god complex and a penchant of human sacrifice~ rather volatile new management.

On the plus side, nobody expects Twitter to last the year. I can't say I'll miss it.