summaryrefslogtreecommitdiff
path: root/openstack_auth/urls.py
diff options
context:
space:
mode:
authorThai Tran <tqtran@us.ibm.com>2015-03-16 12:37:47 -0700
committerlin-hua-cheng <os.lcheng@gmail.com>2015-03-31 11:10:21 -0700
commit302f422568a32b513ffbb3089ba799a4416df108 (patch)
tree9beb70f4db790c0be8910430b126a101a1c00b27 /openstack_auth/urls.py
parent4e8b06452216fe9e74d589f063290754546ef8b9 (diff)
downloaddjango_openstack_auth-302f422568a32b513ffbb3089ba799a4416df108.tar.gz
Add authentication using openID and SAML
To enable websso, make sure you have your environment configured. Then add following to Horizon settings: WEBSSO_ENABLED=True Also make sure your KEYSTONE is version 3+ Depends on: https://review.openstack.org/#/c/136177/ https://review.openstack.org/#/c/151842/ Co-Authored-By: Thai Tran <tqtran@us.ibm.com> Co-Authored-By: Jose Castro Leon <jose.castro.leon@cern.ch> Co-Authored-By: Marek Denis <marek.denis@cern.ch> Co-Authored-By: Lin Hua Cheng <os.lcheng@gmail.com> implements bp federated-identity Change-Id: Ief74bece750ffe633d4323238cad89bad61496ed
Diffstat (limited to 'openstack_auth/urls.py')
-rw-r--r--openstack_auth/urls.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/openstack_auth/urls.py b/openstack_auth/urls.py
index d661805..db11f47 100644
--- a/openstack_auth/urls.py
+++ b/openstack_auth/urls.py
@@ -27,3 +27,9 @@ urlpatterns = patterns(
url(r'^switch_services_region/(?P<region_name>[^/]+)/$', 'switch_region',
name='switch_services_region')
)
+
+if utils.is_websso_enabled():
+ urlpatterns += patterns(
+ 'openstack_auth.views',
+ url(r"^websso/$", "websso", name='websso')
+ )