mirror of
https://github.com/discourse/discourse.git
synced 2025-10-03 17:21:20 +08:00
Adds a Discourse ID authenticator. Not available for use in production just yet, but soon communities will be able to use this service to let users authenticate using a central Discourse ID account. Includes a support for a `/revoke` action, allowing users to log out of multiple client instances from a central auth service. Internal ticket: t/155397 --------- Co-authored-by: Loïc Guitaut <loic@discourse.org>
18 lines
503 B
Ruby
18 lines
503 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Auth
|
|
LOGIN_METHOD_OAUTH = "oauth"
|
|
LOGIN_METHOD_LOCAL = "local"
|
|
end
|
|
|
|
require "auth/auth_provider"
|
|
require "auth/result"
|
|
require "auth/authenticator"
|
|
require "auth/managed_authenticator"
|
|
require "auth/facebook_authenticator"
|
|
require "auth/github_authenticator"
|
|
require "auth/twitter_authenticator"
|
|
require "auth/linkedin_oidc_authenticator"
|
|
require "auth/google_oauth2_authenticator"
|
|
require "auth/discord_authenticator"
|
|
require "auth/discourse_id_authenticator"
|