mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-12-24 04:52:39 +00:00
15 lines
497 B
Python
15 lines
497 B
Python
# -*- coding: utf-8 -*-
|
|
#
|
|
from django.urls import path
|
|
|
|
from oauth2_provider import views as op_views
|
|
from . import views
|
|
|
|
|
|
urlpatterns = [
|
|
path("authorize/", op_views.AuthorizationView.as_view(), name="authorize"),
|
|
path("token/", op_views.TokenView.as_view(), name="token"),
|
|
path("revoke/", op_views.RevokeTokenView.as_view(), name="revoke-token"),
|
|
path(".well-known/oauth-authorization-server", views.OAuthAuthorizationServerView.as_view(), name="oauth-authorization-server"),
|
|
]
|