File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public void ConfigureServices(IServiceCollection services)
4848 {
4949 options . ServerDomain = Configuration [ "fido2:serverDomain" ] ;
5050 options . ServerName = "FIDO2 Test" ;
51- options . Origins = new HashSet < string > { Configuration [ "fido2:origin" ] } ;
51+ options . Origins = Configuration . GetSection ( "fido2:origins" ) . Get < HashSet < string > > ( ) ;
5252 options . TimestampDriftTolerance = Configuration . GetValue < int > ( "fido2:timestampDriftTolerance" ) ;
5353 options . MDSCacheDirPath = Configuration [ "fido2:MDSCacheDirPath" ] ;
5454 } )
Original file line number Diff line number Diff line change 11{
22 "fido2" : {
33 "serverDomain" : " localhost" ,
4- "origin " : " https://localhost:44329" ,
4+ "origins " : [ " https://localhost:44329" ] ,
55 "timestampDriftTolerance" : 300000
66 },
77 "Logging" : {
You can’t perform that action at this time.
0 commit comments