about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-09-07 19:07:46 -0500
committerFire Demon <firedemon@creature.cafe>2020-09-08 03:37:23 -0500
commit9344b77b95decedf5e5db7af99f6af4db2b27ffb (patch)
tree4523430aa66a6f50d6237dae5e4aacbd26b138d9 /config/routes.rb
parent57f74d8da4f4906fde07caa6cb05cbb824edcbc4 (diff)
[SSO, API] Add Matrix auth API (https://monsterware.dev/monsterpit/matrix-synapse-rest-password-provider)
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index a6b9f6981..33343625c 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -531,6 +531,14 @@ Rails.application.routes.draw do
     end
   end
 
+  namespace :matrix, path: '_matrix-internal' do
+    namespace :identity do
+      namespace :v1 do
+        resource :check_credentials, only: [:create]
+      end
+    end
+  end
+
   get '/web/(*any)', to: 'home#index', as: :web
 
   get '/about',        to: 'about#show'