Skip to content

Commit 6e92c74

Browse files
authored
Merge pull request #216 from skoruba/xmichaelx-patch-1
Fixed bug with client secret not being sourced from configuration but from consts
2 parents e21cbc2 + 3df0808 commit 6e92c74

File tree

1 file changed

+2
-2
lines changed
  • src/Skoruba.IdentityServer4.Admin/Configuration/IdentityServer

1 file changed

+2
-2
lines changed

src/Skoruba.IdentityServer4.Admin/Configuration/IdentityServer/Clients.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static IEnumerable<Client> GetAdminClient(IAdminConfiguration adminConfig
3131

3232
ClientSecrets = new List<Secret>
3333
{
34-
new Secret(AuthenticationConsts.OidcClientSecret.ToSha256())
34+
new Secret(adminConfiguration.ClientSecret.ToSha256())
3535
},
3636

3737
RedirectUris = { $"{adminConfiguration.IdentityAdminBaseUrl}/signin-oidc"},
@@ -315,4 +315,4 @@ public static IEnumerable<Client> Get()
315315
};
316316
}
317317
}
318-
}
318+
}

0 commit comments

Comments
 (0)