Skip to content

Commit cf83aec

Browse files
Update dev config variations
1 parent 63c3ea5 commit cf83aec

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

src/Certify.Server/Certify.Server.Core/Certify.Server.Core/Properties/launchSettings.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@
1010

1111
"profiles": {
1212

13-
"Certify.Server.Core": {
13+
"Certify.Server.Core (no service auth)": {
1414
"commandName": "Project",
1515
"launchBrowser": false,
1616
"environmentVariables": {
1717
"ASPNETCORE_ENVIRONMENT": "Development",
1818
"ASPNETCORE_URLS": "http://127.0.0.2:9696",
19-
//"CERTIFY_MANAGEMENT_HUB": "https://localhost:44361/api/internal/managementhub",
19+
"CERTIFY_MANAGEMENT_HUB_CLIENT_ID": "managedinstance_sp_01",
20+
"CERTIFY_MANAGEMENT_HUB_CLIENT_SECRET": "b83af1ea-ef84-4095-84aa-49df81e9ded6",
21+
"CERTIFY_MANAGEMENT_HUB": "https://localhost:44361",
2022
"CERTIFY_ENABLE_MANAGEMENT_HUB": "true",
2123
"CERTIFY_SERVICE_AUTH_MODE": "none",
2224
"CERTIFY_UPGRADE_SETTINGS": "true"
@@ -28,8 +30,6 @@
2830
"environmentVariables": {
2931
"ASPNETCORE_ENVIRONMENT": "Development",
3032
"ASPNETCORE_URLS": "http://127.0.0.2:9696",
31-
// "CERTIFY_MANAGEMENT_HUB": "https://localhost:44361/api/internal/managementhub",
32-
"CERTIFY_ENABLE_MANAGEMENT_HUB": "true",
3333
"CERTIFY_SERVICE_AUTH_MODE": "windows",
3434
"CERTIFY_UPGRADE_SETTINGS": "true"
3535
}
@@ -51,7 +51,8 @@
5151
"environmentVariables": {
5252
"ASPNETCORE_ENVIRONMENT": "Development",
5353
"ASPNETCORE_URLS": "http://0.0.0.0:9695",
54-
"CERTIFY_ENABLE_MANAGEMENT_HUB": "true"
54+
"CERTIFY_ENABLE_MANAGEMENT_HUB": "true",
55+
"CERTIFY_SERVICE_AUTH_MODE": "none"
5556
},
5657
"publishAllPorts": true,
5758
"httpPort": 9695
@@ -64,7 +65,8 @@
6465
"ASPNETCORE_ENVIRONMENT": "Development",
6566
"ASPNETCORE_URLS": "http://0.0.0.0:9695",
6667
"CERTIFY_ENABLE_MANAGEMENT_HUB": "true",
67-
"CERTIFY_MANAGEMENT_HUB": "https://localhost:44361/api/internal/managementhub"
68+
"CERTIFY_MANAGEMENT_HUB": "https://localhost:44361/api/internal/managementhub",
69+
"CERTIFY_SERVICE_AUTH_MODE": "none"
6870
}
6971
}
7072
}

src/Certify.Server/Certify.Server.Core/Certify.Server.Core/appsettings-core.Development.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"Microsoft.AspNetCore.Http.Connections": "Debug"
99
}
1010
},
11-
"Service": {
11+
/*"Service": {
1212
"AuthMode": "windows"
13-
},
13+
},*/
1414
"Kestrel": {
1515
"Endpoints": {
1616
"SvcHttpEndpoint": {

0 commit comments

Comments
 (0)