Sha256: 50a127e4ab08cc44525c41f1d108e4e3386a26eb90972ccd37560291a2659e8b

Contents?: true

Size: 423 Bytes

Versions: 9

Compression:

Stored size: 423 Bytes

Contents

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

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

9 entries across 9 versions & 1 rubygems

Version Path
gds-sso-13.6.0 app/controllers/authentications_controller.rb
gds-sso-13.5.1 app/controllers/authentications_controller.rb
gds-sso-13.5.0 app/controllers/authentications_controller.rb
gds-sso-13.4.0 app/controllers/authentications_controller.rb
gds-sso-13.3.0 app/controllers/authentications_controller.rb
gds-sso-13.2.1 app/controllers/authentications_controller.rb
gds-sso-13.2.0 app/controllers/authentications_controller.rb
gds-sso-13.1.0 app/controllers/authentications_controller.rb
gds-sso-13.0.0 app/controllers/authentications_controller.rb