module OktaAuthProxy::OktaAuth::AuthHelpers
Public Instance Methods
protected!()
click to toggle source
# File lib/okta-auth-proxy/auth.rb, line 9 def protected! return if authorized?(request.host) redirect to("/auth/saml?redirectUrl=#{URI::encode(request.path)}") end