Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandros Keramidas <dev.alexkeramidas@gmail.com>2017-01-06 22:07:27 +0300
committerAlexandros Keramidas <dev.alexkeramidas@gmail.com>2017-02-20 19:46:58 +0300
commitbeb887748e8aa3bc42376656f28b689aad91dab7 (patch)
tree80f4e3e8f460c947798f2ceec0379ffbcc902b9d /app/controllers/omniauth_callbacks_controller.rb
parent5d8f5328baca93b9134f10ae593e71834578a9f8 (diff)
Added support for Authentiq Back-Channel Logout
Diffstat (limited to 'app/controllers/omniauth_callbacks_controller.rb')
-rw-r--r--app/controllers/omniauth_callbacks_controller.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/controllers/omniauth_callbacks_controller.rb b/app/controllers/omniauth_callbacks_controller.rb
index f54c79c2e37..3ab7e6e0658 100644
--- a/app/controllers/omniauth_callbacks_controller.rb
+++ b/app/controllers/omniauth_callbacks_controller.rb
@@ -78,6 +78,13 @@ class OmniauthCallbacksController < Devise::OmniauthCallbacksController
handle_omniauth
end
+ def authentiq
+ if params['sid']
+ handle_service_ticket oauth['provider'], params['sid']
+ end
+ handle_omniauth
+ end
+
private
def handle_omniauth