mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-12-22 12:02:34 +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>
20 lines
638 B
Python
20 lines
638 B
Python
"""
|
|
OpenID Connect relying party (RP) URLs
|
|
======================================
|
|
|
|
This modules defines the URLs allowing to perform OpenID Connect flows on a Relying Party (RP).
|
|
It defines three main endpoints: the authentication request endpoint, the authentication
|
|
callback endpoint and the end session endpoint.
|
|
|
|
"""
|
|
|
|
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path('login/', views.OIDCAuthRequestView.as_view(), name='login'),
|
|
path('callback/', views.OIDCAuthCallbackView.as_view(), name='login-callback'),
|
|
path('logout/', views.OIDCEndSessionView.as_view(), name='logout'),
|
|
]
|