Sha256: 44fd453ac57d42ac57c73cd4d8805fe575283f61b919459e0b14b959869960c2

Contents?: true

Size: 409 Bytes

Versions: 19

Compression:

Stored size: 409 Bytes

Contents

class AuthenticationsController < ActionController::Base
  include GDS::SSO::ControllerMethods

  before_filter :authenticate_user!, :only => :callback
  skip_before_filter :require_signin_permission!
  layout false

  def callback
    redirect_to session["return_to"] || '/'
  end

  def failure

  end

  def sign_out
    logout
    redirect_to GDS::SSO::Config.oauth_root_url + "/users/sign_out"
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
gds-sso-12.1.0 app/controllers/authentications_controller.rb
gds-sso-12.0.0 app/controllers/authentications_controller.rb
gds-sso-11.2.1 app/controllers/authentications_controller.rb
gds-sso-11.2.0 app/controllers/authentications_controller.rb
gds-sso-11.1.0 app/controllers/authentications_controller.rb
gds-sso-11.0.0 app/controllers/authentications_controller.rb
gds-sso-10.1.0 app/controllers/authentications_controller.rb
gds-sso-10.0.1 app/controllers/authentications_controller.rb
gds-sso-10.0.0 app/controllers/authentications_controller.rb
gds-sso-9.4.0 app/controllers/authentications_controller.rb
gds-sso-9.3.0 app/controllers/authentications_controller.rb
gds-sso-9.2.7 app/controllers/authentications_controller.rb
gds-sso-9.2.6 app/controllers/authentications_controller.rb
gds-sso-9.2.5 app/controllers/authentications_controller.rb
gds-sso-9.2.4 app/controllers/authentications_controller.rb
gds-sso-9.2.3 app/controllers/authentications_controller.rb
gds-sso-9.2.2 app/controllers/authentications_controller.rb
gds-sso-9.2.1 app/controllers/authentications_controller.rb
gds-sso-9.2.0 app/controllers/authentications_controller.rb