Skip to content
This repository was archived by the owner on Dec 21, 2024. It is now read-only.

Commit c57b85c

Browse files
authored
Merge pull request #58 from wenz/57-domainnames
2 parents 55387c2 + c4c0e7f commit c57b85c

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

src/IdentityServerAspNetIdentity/SeedData.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static void EnsureSeedData(WebApplication app)
2424
alice = new ApplicationUser
2525
{
2626
UserName = "alice",
27-
Email = "AliceSmith@email.com",
27+
Email = "AliceSmith@example.com",
2828
EmailConfirmed = true,
2929
};
3030
var result = userMgr.CreateAsync(alice, "Pass123$").Result;
@@ -37,7 +37,7 @@ public static void EnsureSeedData(WebApplication app)
3737
new Claim(JwtClaimTypes.Name, "Alice Smith"),
3838
new Claim(JwtClaimTypes.GivenName, "Alice"),
3939
new Claim(JwtClaimTypes.FamilyName, "Smith"),
40-
new Claim(JwtClaimTypes.WebSite, "http://alice.com"),
40+
new Claim(JwtClaimTypes.WebSite, "http://alice.example.com"),
4141
}).Result;
4242
if (!result.Succeeded)
4343
{
@@ -56,7 +56,7 @@ public static void EnsureSeedData(WebApplication app)
5656
bob = new ApplicationUser
5757
{
5858
UserName = "bob",
59-
Email = "BobSmith@email.com",
59+
Email = "BobSmith@example.com",
6060
EmailConfirmed = true
6161
};
6262
var result = userMgr.CreateAsync(bob, "Pass123$").Result;
@@ -69,7 +69,7 @@ public static void EnsureSeedData(WebApplication app)
6969
new Claim(JwtClaimTypes.Name, "Bob Smith"),
7070
new Claim(JwtClaimTypes.GivenName, "Bob"),
7171
new Claim(JwtClaimTypes.FamilyName, "Smith"),
72-
new Claim(JwtClaimTypes.WebSite, "http://bob.com"),
72+
new Claim(JwtClaimTypes.WebSite, "http://bob.example.com"),
7373
new Claim("location", "somewhere")
7474
}).Result;
7575
if (!result.Succeeded)

src/IdentityServerEntityFramework/Pages/TestUsers.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ public static List<TestUser> Users
3535
new Claim(JwtClaimTypes.Name, "Alice Smith"),
3636
new Claim(JwtClaimTypes.GivenName, "Alice"),
3737
new Claim(JwtClaimTypes.FamilyName, "Smith"),
38-
new Claim(JwtClaimTypes.Email, "AliceSmith@email.com"),
38+
new Claim(JwtClaimTypes.Email, "AliceSmith@example.com"),
3939
new Claim(JwtClaimTypes.EmailVerified, "true", ClaimValueTypes.Boolean),
40-
new Claim(JwtClaimTypes.WebSite, "http://alice.com"),
40+
new Claim(JwtClaimTypes.WebSite, "http://alice.example.com"),
4141
new Claim(JwtClaimTypes.Address, JsonSerializer.Serialize(address), IdentityServerConstants.ClaimValueTypes.Json)
4242
}
4343
},
@@ -51,9 +51,9 @@ public static List<TestUser> Users
5151
new Claim(JwtClaimTypes.Name, "Bob Smith"),
5252
new Claim(JwtClaimTypes.GivenName, "Bob"),
5353
new Claim(JwtClaimTypes.FamilyName, "Smith"),
54-
new Claim(JwtClaimTypes.Email, "BobSmith@email.com"),
54+
new Claim(JwtClaimTypes.Email, "BobSmith@example.com"),
5555
new Claim(JwtClaimTypes.EmailVerified, "true", ClaimValueTypes.Boolean),
56-
new Claim(JwtClaimTypes.WebSite, "http://bob.com"),
56+
new Claim(JwtClaimTypes.WebSite, "http://bob.example.com"),
5757
new Claim(JwtClaimTypes.Address, JsonSerializer.Serialize(address), IdentityServerConstants.ClaimValueTypes.Json)
5858
}
5959
}

src/IdentityServerInMem/Pages/TestUsers.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ public static List<TestUser> Users
3535
new Claim(JwtClaimTypes.Name, "Alice Smith"),
3636
new Claim(JwtClaimTypes.GivenName, "Alice"),
3737
new Claim(JwtClaimTypes.FamilyName, "Smith"),
38-
new Claim(JwtClaimTypes.Email, "AliceSmith@email.com"),
38+
new Claim(JwtClaimTypes.Email, "AliceSmith@example.com"),
3939
new Claim(JwtClaimTypes.EmailVerified, "true", ClaimValueTypes.Boolean),
40-
new Claim(JwtClaimTypes.WebSite, "http://alice.com"),
40+
new Claim(JwtClaimTypes.WebSite, "http://alice.example.com"),
4141
new Claim(JwtClaimTypes.Address, JsonSerializer.Serialize(address), IdentityServerConstants.ClaimValueTypes.Json)
4242
}
4343
},
@@ -51,9 +51,9 @@ public static List<TestUser> Users
5151
new Claim(JwtClaimTypes.Name, "Bob Smith"),
5252
new Claim(JwtClaimTypes.GivenName, "Bob"),
5353
new Claim(JwtClaimTypes.FamilyName, "Smith"),
54-
new Claim(JwtClaimTypes.Email, "BobSmith@email.com"),
54+
new Claim(JwtClaimTypes.Email, "BobSmith@example.com"),
5555
new Claim(JwtClaimTypes.EmailVerified, "true", ClaimValueTypes.Boolean),
56-
new Claim(JwtClaimTypes.WebSite, "http://bob.com"),
56+
new Claim(JwtClaimTypes.WebSite, "http://bob.example.com"),
5757
new Claim(JwtClaimTypes.Address, JsonSerializer.Serialize(address), IdentityServerConstants.ClaimValueTypes.Json)
5858
}
5959
}

0 commit comments

Comments
 (0)