diff --git a/authentik/providers/oauth2/urls_root.py b/authentik/providers/oauth2/urls_root.py index 02d89e9dd640..8c3a3304844b 100644 --- a/authentik/providers/oauth2/urls_root.py +++ b/authentik/providers/oauth2/urls_root.py @@ -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 = [ @@ -40,4 +41,9 @@ ), name="device-login", ), + path( + ".well-known/oauth-authorization-server/application/o//", + ProviderInfoView.as_view(), + name="providers-oauth2-authorization-server-metadata", + ), ]