#capcoauth_token, #oauth_callback_url
3 4 5 6 7 8
# File 'app/controllers/capcoauth/logout_controller.rb', line 3 def show token = session[:capcoauth_access_token] session.destroy OAuth::TTLCache.remove(token) if token.present? redirect_to root_url, notice: 'You have been logged out' end