File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public class MetadataTOCPayload
4040 /// <summary>
4141 /// The "alg" property from the original JWT header. Used to validate MetadataStatements.
4242 /// </summary>
43- [ JsonProperty ( "jwtAlg" , Required = Required . AllowNull ) ]
43+ [ JsonProperty ( "jwtAlg" , Required = Required . Default ) ]
4444 public string JwtAlg { get ; set ; }
4545 }
4646}
Original file line number Diff line number Diff line change 1- using System ;
1+ using System ;
22using System . Collections . Generic ;
33using System . IdentityModel . Tokens . Jwt ;
44using System . Linq ;
@@ -102,6 +102,7 @@ public async Task<MetadataTOCPayload> GetToc()
102102 {
103103 entries . Add ( entry ) ;
104104 }
105+ combinedToc . JwtAlg = toc . JwtAlg ;
105106 }
106107
107108 combinedToc . Entries = entries . ToArray ( ) ;
You can’t perform that action at this time.
0 commit comments