Skip to content

Commit

Permalink
Merge pull request #202 from wenz/1411-domainnames
Browse files Browse the repository at this point in the history
Replace alice.com/bob.com/email.com domains with *.example.com #1411
  • Loading branch information
leastprivilege authored Sep 23, 2024
2 parents 51e4210 + de75b2a commit 064b890
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions samples/IdentityServer/Pages/TestUsers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ public static List<TestUser> Users
new Claim(JwtClaimTypes.Name, "Alice Smith"),
new Claim(JwtClaimTypes.GivenName, "Alice"),
new Claim(JwtClaimTypes.FamilyName, "Smith"),
new Claim(JwtClaimTypes.Email, "AliceSmith@email.com"),
new Claim(JwtClaimTypes.Email, "AliceSmith@example.com"),
new Claim(JwtClaimTypes.EmailVerified, "true", ClaimValueTypes.Boolean),
new Claim(JwtClaimTypes.WebSite, "http://alice.com"),
new Claim(JwtClaimTypes.WebSite, "http://alice.example.com"),
new Claim(JwtClaimTypes.Address, JsonSerializer.Serialize(address), IdentityServerConstants.ClaimValueTypes.Json)
}
},
Expand All @@ -52,9 +52,9 @@ public static List<TestUser> Users
new Claim(JwtClaimTypes.Name, "Bob Smith"),
new Claim(JwtClaimTypes.GivenName, "Bob"),
new Claim(JwtClaimTypes.FamilyName, "Smith"),
new Claim(JwtClaimTypes.Email, "BobSmith@email.com"),
new Claim(JwtClaimTypes.Email, "BobSmith@example.com"),
new Claim(JwtClaimTypes.EmailVerified, "true", ClaimValueTypes.Boolean),
new Claim(JwtClaimTypes.WebSite, "http://bob.com"),
new Claim(JwtClaimTypes.WebSite, "http://bob.example.com"),
new Claim(JwtClaimTypes.Address, JsonSerializer.Serialize(address), IdentityServerConstants.ClaimValueTypes.Json)
}
}
Expand Down

0 comments on commit 064b890

Please sign in to comment.