diff options
author | Thai Tran <tqtran@us.ibm.com> | 2015-03-16 12:37:47 -0700 |
---|---|---|
committer | lin-hua-cheng <os.lcheng@gmail.com> | 2015-03-31 11:10:21 -0700 |
commit | 302f422568a32b513ffbb3089ba799a4416df108 (patch) | |
tree | 9beb70f4db790c0be8910430b126a101a1c00b27 /openstack_auth/urls.py | |
parent | 4e8b06452216fe9e74d589f063290754546ef8b9 (diff) | |
download | django_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.py | 6 |
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') + ) |