login, logout and login redirect urls arn't set using standard django variables
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Wishlist
|
Tihomir Trifonov |
Bug Description
Currently in horizon login, logout, and redirect are bound to horizon:auth_login, horizon:
This means that if you want to override the login URL you can't without overriding the /auth/login URL regex in the urlpatterns or subclass the HorizonMiddleware. The auth_logout URL also needs to be overridden using URL regular expression. And If I integrate an existing Django application I will be required to set the LOGIN_URL and LOGOUT_URL because in Django they are by default set to /accounts/
Similarly Django already provides a mechanism for setting the URL that a user is redirected to after login, so If I provide an alternative auth whilst keeping the standard auth enabled, I am required to set both HORIZON_
Django provides 3 variables that are used to handle login, logout and where the user is redirected to after login. Would it be possible to for Horizon to use Django standard variables LOGIN_URL [1], LOGOUT_URL [2] and LOGIN_REDIRECT_URL [3] instead of the hardcoded auth and the non-standard redirect URLs?
1. https:/
2. https:/
3. https:/
Changed in horizon: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
milestone: | none → folsom-1 |
Changed in horizon: | |
assignee: | nobody → Nebula (nebula) |
Changed in horizon: | |
milestone: | folsom-1 → folsom-2 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | folsom-2 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/8723
Review: https:/