discourse/config/initializers/009-omniauth.rb

9 lines
214 B
Ruby

# frozen_string_literal: true
require "openssl"
require "middleware/omniauth_bypass_middleware"
Rails.application.config.middleware.use Middleware::OmniauthBypassMiddleware
OmniAuth.config.logger = Rails.logger