providers/oauth2: add support for OAuth 2.0 Authorization Server Metadata endpoint (RFC 8414)
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
@ -6,6 +6,7 @@ from django.urls import include, path
|
||||
from authentik.providers.oauth2.views.authorize import AuthorizationFlowInitView
|
||||
from authentik.providers.oauth2.views.device_init import DeviceEntryView
|
||||
from authentik.providers.oauth2.views.github import GitHubUserTeamsView, GitHubUserView
|
||||
from authentik.providers.oauth2.views.provider import ProviderInfoView
|
||||
from authentik.providers.oauth2.views.token import TokenView
|
||||
|
||||
github_urlpatterns = [
|
||||
@ -40,4 +41,9 @@ urlpatterns = [
|
||||
),
|
||||
name="device-login",
|
||||
),
|
||||
path(
|
||||
".well-known/oauth-authorization-server/application/o/<slug:application_slug>/",
|
||||
ProviderInfoView.as_view(),
|
||||
name="providers-oauth2-authorization-server-metadata",
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user