[ARVADOS] updated: 11bfce50c0ed1519d764ede1538bcfb72c244019

git at public.curoverse.com git at public.curoverse.com
Mon Dec 1 21:19:27 EST 2014


Summary of changes:
 services/api/config/routes.rb | 2 ++
 1 file changed, 2 insertions(+)

       via  11bfce50c0ed1519d764ede1538bcfb72c244019 (commit)
      from  46aee7d3bec5676e054bddc38633b2775f3a0fd6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 11bfce50c0ed1519d764ede1538bcfb72c244019
Author: Tom Clegg <tom at curoverse.com>
Date:   Mon Dec 1 21:18:42 2014 -0500

    4533: Pass CORS test when no omniauth provider is configured. refs #4533

diff --git a/services/api/config/routes.rb b/services/api/config/routes.rb
index 2481d5a..27fd67c 100644
--- a/services/api/config/routes.rb
+++ b/services/api/config/routes.rb
@@ -78,6 +78,8 @@ Server::Application.routes.draw do
   # omniauth
   match '/auth/:provider/callback', :to => 'user_sessions#create'
   match '/auth/failure', :to => 'user_sessions#failure'
+  # not handled by omniauth provider -> 403 with no CORS headers.
+  get '/auth/*a', :to => 'user_sessions#cross_origin_forbidden'
 
   # Custom logout
   match '/login', :to => 'user_sessions#login'

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list