Sha256: 5866a28ae1835caea8c0d4167b874295e4b35d492ab7f9d85c6ac7bbfdef4754

Contents?: true

Size: 360 Bytes

Versions: 6

Compression:

Stored size: 360 Bytes

Contents

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

  before_action :authenticate_user!, :only => :callback
  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

6 entries across 6 versions & 1 rubygems

Version Path
gds-sso-15.0.0 app/controllers/authentications_controller.rb
gds-sso-14.3.0 app/controllers/authentications_controller.rb
gds-sso-14.2.0 app/controllers/authentications_controller.rb
gds-sso-14.1.1 app/controllers/authentications_controller.rb
gds-sso-14.1.0 app/controllers/authentications_controller.rb
gds-sso-14.0.0 app/controllers/authentications_controller.rb