authentik.sources.oauth.types.azure_ad

AzureAD OAuth2 Views

 1"""AzureAD OAuth2 Views"""
 2
 3from authentik.sources.oauth.types.entra_id import EntraIDType
 4from authentik.sources.oauth.types.registry import registry
 5
 6# TODO: When removing this, add a migration for OAuthSource that sets
 7# provider_type to `entraid` if it is currently `azuread`
 8
 9
10@registry.register()
11class AzureADType(EntraIDType):
12    """Azure AD Type definition"""
13
14    verbose_name = "Azure AD"
15    name = "azuread"
16
17    urls_customizable = True
@registry.register()
class AzureADType(authentik.sources.oauth.types.entra_id.EntraIDType):
11@registry.register()
12class AzureADType(EntraIDType):
13    """Azure AD Type definition"""
14
15    verbose_name = "Azure AD"
16    name = "azuread"
17
18    urls_customizable = True

Azure AD Type definition

verbose_name = 'Azure AD'
name = 'azuread'
urls_customizable = True