Skip to content

Commit 7b28eea

Browse files
authored
Fix OpenId feature dependencies (#13559)
1 parent ed700c0 commit 7b28eea

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

src/OrchardCore.Modules/OrchardCore.OpenId/Manifest.cs

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,30 @@
1212
Id = OpenIdConstants.Features.Core,
1313
Name = "OpenID Core Components",
1414
Category = "OpenID Connect",
15-
Description = "Registers the core components used by the OpenID module."
15+
Description = "Registers the core components used by the OpenID module.",
16+
EnabledByDependencyOnly = true
1617
)]
1718

1819
[assembly: Feature(
1920
Id = OpenIdConstants.Features.Client,
2021
Name = "OpenID Client",
2122
Category = "OpenID Connect",
2223
Description = "Authenticates users from an external OpenID Connect identity provider.",
23-
Dependencies = new[] { OpenIdConstants.Features.Core }
24+
Dependencies = new[]
25+
{
26+
OpenIdConstants.Features.Core,
27+
}
2428
)]
2529

2630
[assembly: Feature(
2731
Id = OpenIdConstants.Features.Management,
2832
Name = "OpenID Management Interface",
2933
Category = "OpenID Connect",
3034
Description = "Allows adding, editing and removing the registered applications.",
31-
Dependencies = new[] { OpenIdConstants.Features.Core }
35+
Dependencies = new[]
36+
{
37+
OpenIdConstants.Features.Core,
38+
}
3239
)]
3340

3441
[assembly: Feature(
@@ -39,7 +46,7 @@
3946
Dependencies = new[]
4047
{
4148
OpenIdConstants.Features.Core,
42-
OpenIdConstants.Features.Management
49+
OpenIdConstants.Features.Management,
4350
}
4451
)]
4552

@@ -48,5 +55,8 @@
4855
Name = "OpenID Token Validation",
4956
Category = "OpenID Connect",
5057
Description = "Validates tokens issued by the Orchard OpenID server or by a remote server supporting JWT and OpenID Connect discovery.",
51-
Dependencies = new[] { OpenIdConstants.Features.Core }
58+
Dependencies = new[]
59+
{
60+
OpenIdConstants.Features.Core,
61+
}
5262
)]

0 commit comments

Comments
 (0)