Sha256: a7d298b9e4160a818149a081ff1b31beaae6b3f4af14eb941a185a7ccba429ca
Contents?: true
Size: 374 Bytes
Versions: 7
Compression:
Stored size: 374 Bytes
Contents
# frozen_string_literal: true module NulogySSO module OriginRedirector extend self def authentication_redirect_uri(previous_request_uri) if previous_request_uri.blank? sso_config.login_uri else "#{sso_config.login_uri}?origin=#{CGI::escape(previous_request_uri)}" end end delegate :sso_config, to: :NulogySSO end end
Version data entries
7 entries across 7 versions & 1 rubygems