File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
test/AspNet.Security.OAuth.Providers.Tests/Etsy Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ protected internal override void RegisterAuthentication(AuthenticationBuilder bu
1919
2020 [ Theory ]
2121 [ InlineData ( ClaimTypes . NameIdentifier , "123456" ) ]
22+ [ InlineData ( "urn:etsy:user_id" , "123456" ) ]
2223 [ InlineData ( "urn:etsy:shop_id" , "789012" ) ]
2324 public async Task Can_Sign_In_Using_Etsy ( string claimType , string claimValue )
2425 => await AuthenticateUserAndAssertClaimValue ( claimType , claimValue ) ;
@@ -36,6 +37,7 @@ public async Task Does_Not_Include_Detailed_Claims_When_IncludeDetailedUserInfo_
3637
3738 // Assert basic claims are present
3839 claims . ShouldContainKey ( ClaimTypes . NameIdentifier ) ;
40+ claims . ShouldContainKey ( Claims . UserId ) ;
3941 claims . ShouldContainKey ( Claims . ShopId ) ;
4042
4143 // Detailed claims should be absent when flag is false
You can’t perform that action at this time.
0 commit comments