mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 04:41:25 +08:00
Remove Yahoo login support from core and deprecate OpenID2.0 (#7310)
- Plugin developers using OpenID2.0 should migrate to OAuth2 or OIDC. OpenID2.0 APIs will be removed in v2.4.0 - For sites requiring Yahoo login, it can be implemented using the OpenID Connect plugin: https://meta.discourse.org/t/103632 For more information, see https://meta.discourse.org/t/113249
This commit is contained in:
@ -35,6 +35,7 @@ class Auth::OpenIdAuthenticator < Auth::Authenticator
|
||||
end
|
||||
|
||||
def after_authenticate(auth_token, existing_account: nil)
|
||||
Discourse.deprecate("OpenID Authentication has been deprecated, please migrate to OAuth2 or OpenID Connect", since: "2.3.0beta4", drop_from: "2.4")
|
||||
result = Auth::Result.new
|
||||
|
||||
data = auth_token[:info]
|
||||
|
Reference in New Issue
Block a user