discourse/config/initializers/009-omniauth.rb

10 lines
243 B
Ruby

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