Skip to content

Commit 837d614

Browse files
authored
add IdentityClient config (#49)
1 parent 8f81e2b commit 837d614

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Crucible.AppHost/AppHost.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,9 @@ private static void AddPlayerVm(this IDistributedApplicationBuilder builder, IRe
177177
.WithEnvironment("Authorization__Authority", "https://localhost:8443/realms/crucible")
178178
.WithEnvironment("Authorization__AuthorizationUrl", "https://localhost:8443/realms/crucible/protocol/openid-connect/auth")
179179
.WithEnvironment("Authorization__TokenUrl", "https://localhost:8443/realms/crucible/protocol/openid-connect/token")
180-
.WithEnvironment("Authorization__ClientId", "player.vm.api");
180+
.WithEnvironment("Authorization__ClientId", "player.vm.api")
181+
.WithEnvironment("IdentityClient__TokenUrl", "https://localhost:8443/realms/crucible/protocol/openid-connect/token")
182+
.WithEnvironment("IdentityClient__ClientId", "player.vm.admin");
181183

182184
var vmUiRoot = "/mnt/data/crucible/player/vm.ui";
183185

0 commit comments

Comments
 (0)