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:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index c4a1f693048..097814d90a7 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -53,6 +53,8 @@ Rails.application.routes.draw do
Gitlab.ee do
get '/autocomplete/project_groups' => 'autocomplete#project_groups'
+ get '/autocomplete/project_routes' => 'autocomplete#project_routes'
+ get '/autocomplete/namespace_routes' => 'autocomplete#namespace_routes'
end
# Sign up
@@ -157,6 +159,11 @@ Rails.application.routes.draw do
# Spam reports
resources :abuse_reports, only: [:new, :create]
+
+ # JWKS (JSON Web Key Set) endpoint
+ # Used by third parties to verify CI_JOB_JWT, placeholder route
+ # in case we decide to move away from doorkeeper-openid_connect
+ get 'jwks' => 'doorkeeper/openid_connect/discovery#keys'
end
# End of the /-/ scope.