aboutsummaryrefslogtreecommitdiffstats
path: root/src/account/views.py
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2021-01-04 21:15:58 +0000
committerGerrit Code Review <gerrit@opnfv.org>2021-01-04 21:15:58 +0000
commitd41310f9c3b62e8ab462fa94f2bf1b6b7d2b5e23 (patch)
treeb14138db73a98a9f618be86d7ce9c5483b1ea798 /src/account/views.py
parent107d8bb663083cd2e5fc09417ccd41560bc272c9 (diff)
parentbf822708949ad2e57b3966ad2bf485588fe4b29d (diff)
Merge "Fix issue where users are redirected to Jira login in LFID mode in certain cases"
Diffstat (limited to 'src/account/views.py')
-rw-r--r--src/account/views.py5
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)