Skip to content

Commit

Permalink
providers/oauth2: add support for OAuth 2.0 Authorization Server Meta…
Browse files Browse the repository at this point in the history
…data endpoint (RFC 8414)

Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
  • Loading branch information
rissson committed Dec 18, 2024
1 parent 28d8fcc commit 917b4ab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions authentik/providers/oauth2/urls_root.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
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 = [
Expand Down Expand Up @@ -40,4 +41,9 @@
),
name="device-login",
),
path(
".well-known/oauth-authorization-server/application/o/<slug:application_slug>/",
ProviderInfoView.as_view(),
name="providers-oauth2-authorization-server-metadata",
),
]

0 comments on commit 917b4ab

Please sign in to comment.