mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-03-19 19:42:07 +00:00
* perf: remove call client old- method via ?next=client * feat: add 2 decorators for login-get and login-callback-get to set next_page and get next_page from session * perf: code style * perf: handling the next parameter propagation issue in third-party authentication flows * perf: request.GET.dict() to copy() * perf: style import --------- Co-authored-by: Bai <baijiangjie@gmail.com>
13 lines
371 B
Python
13 lines
371 B
Python
# -*- coding: utf-8 -*-
|
|
#
|
|
import django_cas_ng.views
|
|
from django.urls import path
|
|
|
|
from .views import CASLoginView
|
|
|
|
urlpatterns = [
|
|
path('login/', CASLoginView.as_view(), name='cas-login'),
|
|
path('logout/', django_cas_ng.views.LogoutView.as_view(), name='cas-logout'),
|
|
path('callback/', django_cas_ng.views.CallbackView.as_view(), name='cas-proxy-callback')
|
|
]
|