File tree 2 files changed +13
-6
lines changed
2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 1
- using Azure . Identity ;
2
1
using Microsoft . ApplicationInsights . Extensibility ;
3
2
using Microsoft . AspNetCore . Authentication . JwtBearer ;
4
3
using Microsoft . IdentityModel . Tokens ;
28
27
builder . Services . AddScoped < ITransactionsStore , TransactionsStore > ( ) ;
29
28
builder . Services . AddScoped < IUserAgentService , UserAgentService > ( ) ;
30
29
builder . Services . AddSyncfusion ( builder . Configuration ) ;
31
- builder . Services . AddAuthentication ( options =>
30
+ builder . Services
31
+ . AddAuthentication ( options =>
32
32
{
33
33
options . DefaultAuthenticateScheme = JwtBearerDefaults . AuthenticationScheme ;
34
34
options . DefaultChallengeScheme = JwtBearerDefaults . AuthenticationScheme ;
72
72
73
73
if ( app . Environment . IsProduction ( ) )
74
74
{
75
- builder . Configuration . AddAzureKeyVault (
76
- new Uri ( "https://wms-webui-configurations.vault.azure.net/" ) ,
77
- new DefaultAzureCredential ( ) ) ;
75
+ // builder.Configuration.AddAzureKeyVault(
76
+ // new Uri("https://wms-webui-configurations.vault.azure.net/"),
77
+ // new DefaultAzureCredential());
78
78
79
79
builder . Host . UseSerilog ( ( context , configuration ) => configuration
80
80
. MinimumLevel . Debug ( )
Original file line number Diff line number Diff line change 5
5
"Microsoft.AspNetCore" : " Warning"
6
6
}
7
7
},
8
- "AllowedHosts" : " *"
8
+ "AllowedHosts" : " *" ,
9
+ "Keys" : {
10
+ "ApiKey" : " 1234" ,
11
+ "Syncfusion" : " Mgo+DSMBMAY9C3t2U1hhQlJBfV5AQmBIYVp/TGpJfl96cVxMZVVBJAtUQF1hTX5UdkFiWH5ZcXVURWBU"
12
+ },
13
+ "API" : {
14
+ "Url" : " https://w2sc5qx5-7097.inc1.devtunnels.ms/api/"
15
+ }
9
16
}
You can’t perform that action at this time.
0 commit comments