Removing Yahoo login from Core, and deprecating OpenID 2.0

סיכום מבוסס בינה מלאכותית

Discourse is removing Yahoo login support and deprecating OpenID 2.0 from its core due to minimal usage (under 0.3% of social logins) and security concerns, as OpenID 2.0 is obsolete per the OpenID Foundation. Existing Yahoo users can log in via email, another social provider with matching email, or password reset. For those who still want Yahoo login, Yahoo’s OpenID Connect can be used via the OpenID Connect plugin, with setup instructions available here. Plugins using OpenID 2.0 will continue to function temporarily but will log deprecation warnings; full removal occurred in the latest release, with the associated database table to be dropped before v2.5. Developers are encouraged to migrate to modern protocols like OAuth2 or OpenID Connect, supported by Discourse’s basic OAuth2 and OpenID Connect plugins. david announced the change and confirmed removal in the next release, noting deprecation notices have been active since April 2019. david clarified that while the table remains for now, any ActiveRecord access will throw an exception, and full cleanup is pending v2.5.

This week we will be removing support for Yahoo logins from Discourse.

https://github.com/discourse/discourse/pull/7310

Why?

  1. It gets very little use. Across sites we manage, less than 0.3% of social login attempts are performed using Yahoo

  2. It is the last provider using the OpenID2.0 specification, which has been declared obsolete by the OpenID foundation. It does not have the same security features as OAuth2 / OpenID Connect.

What about users that have already registered using Yahoo?

They can log in with email, log in with another social provider (with a matching email), or use the ‘Reset Password’ button.

But I still want Yahoo login on my forum!

No problem! You can use Yahoo’s OpenID Connect implementation with our OpenID Connect plugin. I’ve added some Yahoo specific instructions to the OpenID Connect setup instructions.

I use OpenID 2.0 in one of my plugins

For now they will continue to work, but will log a deprecation notice. Support will be removed in the next major release. You should look into migrating to a more modern authentication protocol. Our basic OAuth2 and OpenID Connect plugins should be flexible enough for most requirements.

26 לייקים

With the next release just around the corner, legacy OpenID 2.0 support has been removed from Discourse core. This wasn’t being used by core or any official plugins, and the deprecation notice has been around since April 2019.

https://github.com/discourse/discourse/commit/5919618a87675cfcba9a62621c8b0eb07587ee96

Just in case anyone hasn’t seen the deprecation notice, the database table containing account associations has not yet been dropped. Any attempt to access it via ActiveRecord will raise an exception. It will be dropped before v2.5

10 לייקים