appsettings is now shared through the 'Secrets' project.
secrets are now expected inside a appsettings.secrets.json inside the 'Secrets' project.
This commit is contained in:
		
							
								
								
									
										18
									
								
								Secrets/Secrets.csproj
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								Secrets/Secrets.csproj
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| <Project Sdk="Microsoft.NET.Sdk"> | ||||
|  | ||||
|     <PropertyGroup> | ||||
|         <TargetFramework>netstandard1.0</TargetFramework> | ||||
|     </PropertyGroup> | ||||
|  | ||||
|     <ItemGroup> | ||||
|       <None Remove="appsettings.json" /> | ||||
|       <Content Include="appsettings.json"> | ||||
|         <CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||||
|       </Content> | ||||
|       <None Remove="appsettings.secrets.json" /> | ||||
|       <Content Include="appsettings.secrets.json"> | ||||
|         <CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||||
|       </Content> | ||||
|     </ItemGroup>     | ||||
|  | ||||
| </Project> | ||||
							
								
								
									
										8
									
								
								Secrets/appsettings.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								Secrets/appsettings.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| { | ||||
|   "Authority": "https://accounts.test.farmmaps.eu/", | ||||
|   "Endpoint": "https://test.farmmaps.eu/", | ||||
|   "BasePath": "api/v1", | ||||
|   "DiscoveryEndpointUrl": "https://accounts.test.farmmaps.eu/.well-known/openid-configuration", | ||||
|   "RedirectUri": "http://example.nl/api", | ||||
|   "Scopes": ["api"] | ||||
| } | ||||
		Reference in New Issue
	
	Block a user