module Doorkeeper::OAuth::Helpers::URIChecker

def self.valid_for_authorization?(url, client_url)

def self.valid_for_authorization?(url, client_url)
  valid?(url) && client_url.split.any? { |other_url| matches?(url, other_url) }
end