Adds support for GitHub, Azure AD, Google and SAML auth to the UI

This commit is contained in:
mabashian
2020-11-30 14:00:33 -05:00
parent 8e46166313
commit 889eb2331c
6 changed files with 249 additions and 32 deletions

View File

@@ -25,7 +25,7 @@ class BaseRedirectView(RedirectView):
def get_redirect_url(self, *args, **kwargs):
last_path = self.request.COOKIES.get('lastPath', '')
last_path = urllib.parse.quote(urllib.parse.unquote(last_path).strip('"'))
url = reverse('ui:index')
url = reverse('ui_next:index')
if last_path:
return '%s#%s' % (url, last_path)
else: