mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-12-18 01:52:46 +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>
12 lines
327 B
Python
12 lines
327 B
Python
# -*- coding: utf-8 -*-
|
|
#
|
|
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path('login/', views.OAuth2AuthRequestView.as_view(), name='login'),
|
|
path('callback/', views.OAuth2AuthCallbackView.as_view(), name='login-callback'),
|
|
path('logout/', views.OAuth2EndSessionView.as_view(), name='logout')
|
|
]
|