Rebranding from passport to forem account (#16754)
This commit is contained in:
parent
987c0a07a2
commit
06cec96324
2 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ module Authentication
|
|||
module Providers
|
||||
class Forem < Provider
|
||||
OFFICIAL_NAME = "Forem".freeze
|
||||
DOMAIN_URL = ApplicationConfig["PASSPORT_OAUTH_URL"] || "https://passport.forem.com".freeze
|
||||
DOMAIN_URL = ApplicationConfig["FOREM_OAUTH_URL"] || "https://account.forem.com".freeze
|
||||
SETTINGS_URL = "#{DOMAIN_URL}/oauth/authorized_applications".freeze
|
||||
|
||||
def new_user_data
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ module OmniAuth
|
|||
option :name, :forem
|
||||
|
||||
option :client_options, {
|
||||
site: ApplicationConfig["PASSPORT_OAUTH_URL"] || "https://passport.forem.com".freeze,
|
||||
site: ApplicationConfig["FOREM_OAUTH_URL"] || "https://account.forem.com".freeze,
|
||||
authorize_url: "/oauth/authorize"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue