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