Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Commit

Permalink
Connect 'core' and 'authentication'. (#72)
Browse files Browse the repository at this point in the history
* Connect 'core' and 'authentication'.

* Replace connection string with placeholder.

* Fix the launch settings on Windows.

Co-Authored-By: masonwheeler <[email protected]>

Co-authored-by: masonwheeler <[email protected]>
  • Loading branch information
asynts and masonwheeler authored Mar 25, 2020
1 parent c5132e6 commit 1bff745
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 53 deletions.
44 changes: 20 additions & 24 deletions src/WebApp/Properties/launchSettings.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:61846",
"sslPort": 44312
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Development"
}
"iisSettings": {
"iisExpress": {
"applicationUrl": "http://localhost:8000"
}
},
"Codidact.Core.WebApp": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "https://localhost:5001;http://localhost:5000",
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Development"
}
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Development"
}
},
"Codidact.Core.WebApp": {
"commandName": "Project",
"applicationUrl": "http://localhost:8000",
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Development"
}
}
}
}
}
}
9 changes: 0 additions & 9 deletions src/WebApp/appsettings.Development.json

This file was deleted.

40 changes: 20 additions & 20 deletions src/WebApp/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"ConnectionStrings": {
"DefaultConnection": "--placeholder--"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
"ConnectionStrings": {
"DefaultConnection": "--placeholder--"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"Identity": {
"Authority": "http://localhost:8001",
"RequireHttpsMetadata": false,
"ClientId": "codidact_client",
"ClientSecret": "foo",
"ResponseType": "code",
"ResponseMode": "form_post",
"CallbackPath": "/signin-oidc",
"SignedOutCallbackPath": "/signout-callback-oidc"
}
},
"AllowedHosts": "*",
"Identity": {
"Authority": "https://localhost:44313",
"RequireHttpsMetadata": false,
"ClientId": "codidact_client",
"ClientSecret": "--placeholder--",
"ResponseType": "code",
"ResponseMode": "form_post",
"CallbackPath": "/signin-oidc",
"SignedOutCallbackPath": "/signout-callback-oidc"
}
}

0 comments on commit 1bff745

Please sign in to comment.