Module: NulogySSO::OriginRedirector

Extended by:
OriginRedirector
Included in:
OriginRedirector
Defined in:
app/services/nulogy_sso/origin_redirector.rb

Instance Method Summary collapse

Instance Method Details

#authentication_redirect_uri(previous_request_uri) ⇒ Object



7
8
9
10
11
12
13
# File 'app/services/nulogy_sso/origin_redirector.rb', line 7

def authentication_redirect_uri(previous_request_uri)
  if previous_request_uri.blank?
    sso_config.
  else
    "#{sso_config.}?origin=#{CGI::escape(previous_request_uri)}"
  end
end