diff options
author | Adam Hassick <ahassick@iol.unh.edu> | 2021-01-04 20:47:35 +0000 |
---|---|---|
committer | Adam Hassick <ahassick@iol.unh.edu> | 2021-01-04 16:10:08 -0500 |
commit | bf822708949ad2e57b3966ad2bf485588fe4b29d (patch) | |
tree | eadee2b772d9c781644e2ed7bb424c6b016d8b97 /src/account/views.py | |
parent | 5d6508e277e2c373d8e2cde320a2537f42c8189d (diff) |
Fix issue where users are redirected to Jira login in LFID mode in certain cases
Change-Id: If8a82d3a2628a7f55f902d321388be2419524c8b
Signed-off-by: Adam Hassick <ahassick@iol.unh.edu>
Change-Id: Ieb9de968514b88a8c450967466d06c9860427d83
Diffstat (limited to 'src/account/views.py')
-rw-r--r-- | src/account/views.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/account/views.py b/src/account/views.py index 08da918..2e1ab94 100644 --- a/src/account/views.py +++ b/src/account/views.py @@ -128,6 +128,11 @@ class JiraLoginView(RedirectView): return url +class OIDCLoginView(RedirectView): + def get_redirect_url(self, *args, **kwargs): + return reverse('oidc_authentication_init') + + class JiraLogoutView(LoginRequiredMixin, RedirectView): def get_redirect_url(self, *args, **kwargs): logout(self.request) |