Class: SsoClient::SessionsController

Inherits:
Devise::SessionsController
  • Object
show all
Defined in:
app/controllers/sso_client/sessions_controller.rb

Instance Method Summary collapse

Instance Method Details

#destroyObject



5
6
7
8
# File 'app/controllers/sso_client/sessions_controller.rb', line 5

def destroy
  sign_out :user
  redirect_to "#{Settings['sso.url']}/users/sign_out?redirect_uri=#{CGI.escape(redirect_uri)}"
end

#newObject



2
3
4
# File 'app/controllers/sso_client/sessions_controller.rb', line 2

def new
  redirect_to '/sso/auth/identity'
end