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)
48
48
{
49
49
options . ServerDomain = Configuration [ "fido2:serverDomain" ] ;
50
50
options . ServerName = "FIDO2 Test" ;
51
- options . Origins = new HashSet < string > { Configuration [ "fido2:origin" ] } ;
51
+ options . Origins = Configuration . GetSection ( "fido2:origins" ) . Get < HashSet < string > > ( ) ;
52
52
options . TimestampDriftTolerance = Configuration . GetValue < int > ( "fido2:timestampDriftTolerance" ) ;
53
53
options . MDSCacheDirPath = Configuration [ "fido2:MDSCacheDirPath" ] ;
54
54
} )
Original file line number Diff line number Diff line change 1
1
{
2
2
"fido2" : {
3
3
"serverDomain" : " localhost" ,
4
- "origin " : " https://localhost:44329" ,
4
+ "origins " : [ " https://localhost:44329" ] ,
5
5
"timestampDriftTolerance" : 300000
6
6
},
7
7
"Logging" : {
You can’t perform that action at this time.
0 commit comments