@@ -645,7 +645,7 @@ describe('google auth adapter', () => {
645
645
// }
646
646
// });
647
647
648
- it ( '(using client id as string) should verify id_token' , async ( ) => {
648
+ it ( '(using client id as string) should verify id_token (google.com) ' , async ( ) => {
649
649
const fakeClaim = {
650
650
iss : 'https://accounts.google.com' ,
651
651
aud : 'secret' ,
@@ -663,7 +663,7 @@ describe('google auth adapter', () => {
663
663
expect ( result ) . toEqual ( fakeClaim ) ;
664
664
} ) ;
665
665
666
- it ( '(using client id as string) should throw error with with invalid jwt issuer' , async ( ) => {
666
+ it ( '(using client id as string) should throw error with with invalid jwt issuer (google.com) ' , async ( ) => {
667
667
const fakeClaim = {
668
668
iss : 'https://not.google.com' ,
669
669
sub : 'the_user_id' ,
@@ -1466,7 +1466,7 @@ describe('apple signin auth adapter', () => {
1466
1466
}
1467
1467
} ) ;
1468
1468
1469
- it ( 'should use algorithm from key header to verify id_token' , async ( ) => {
1469
+ it ( 'should use algorithm from key header to verify id_token (apple.com) ' , async ( ) => {
1470
1470
const fakeClaim = {
1471
1471
iss : 'https://appleid.apple.com' ,
1472
1472
aud : 'secret' ,
@@ -1516,7 +1516,7 @@ describe('apple signin auth adapter', () => {
1516
1516
}
1517
1517
} ) ;
1518
1518
1519
- it ( '(using client id as string) should verify id_token' , async ( ) => {
1519
+ it ( '(using client id as string) should verify id_token (apple.com) ' , async ( ) => {
1520
1520
const fakeClaim = {
1521
1521
iss : 'https://appleid.apple.com' ,
1522
1522
aud : 'secret' ,
@@ -1536,7 +1536,7 @@ describe('apple signin auth adapter', () => {
1536
1536
expect ( result ) . toEqual ( fakeClaim ) ;
1537
1537
} ) ;
1538
1538
1539
- it ( '(using client id as array) should verify id_token' , async ( ) => {
1539
+ it ( '(using client id as array) should verify id_token (apple.com) ' , async ( ) => {
1540
1540
const fakeClaim = {
1541
1541
iss : 'https://appleid.apple.com' ,
1542
1542
aud : 'secret' ,
@@ -1556,7 +1556,7 @@ describe('apple signin auth adapter', () => {
1556
1556
expect ( result ) . toEqual ( fakeClaim ) ;
1557
1557
} ) ;
1558
1558
1559
- it ( '(using client id as array with multiple items) should verify id_token' , async ( ) => {
1559
+ it ( '(using client id as array with multiple items) should verify id_token (apple.com) ' , async ( ) => {
1560
1560
const fakeClaim = {
1561
1561
iss : 'https://appleid.apple.com' ,
1562
1562
aud : 'secret' ,
@@ -1576,7 +1576,7 @@ describe('apple signin auth adapter', () => {
1576
1576
expect ( result ) . toEqual ( fakeClaim ) ;
1577
1577
} ) ;
1578
1578
1579
- it ( '(using client id as string) should throw error with with invalid jwt issuer' , async ( ) => {
1579
+ it ( '(using client id as string) should throw error with with invalid jwt issuer (apple.com) ' , async ( ) => {
1580
1580
const fakeClaim = {
1581
1581
iss : 'https://not.apple.com' ,
1582
1582
sub : 'the_user_id' ,
@@ -1629,7 +1629,7 @@ describe('apple signin auth adapter', () => {
1629
1629
}
1630
1630
} ) ;
1631
1631
1632
- it ( '(using client id as string) should throw error with with invalid jwt issuer with token' , async ( ) => {
1632
+ it ( '(using client id as string) should throw error with with invalid jwt issuer with token (apple.com) ' , async ( ) => {
1633
1633
const fakeClaim = {
1634
1634
iss : 'https://not.apple.com' ,
1635
1635
sub : 'the_user_id' ,
@@ -1698,7 +1698,7 @@ describe('apple signin auth adapter', () => {
1698
1698
}
1699
1699
} ) ;
1700
1700
1701
- it ( 'should throw error with with invalid user id' , async ( ) => {
1701
+ it ( 'should throw error with with invalid user id (apple.com) ' , async ( ) => {
1702
1702
const fakeClaim = {
1703
1703
iss : 'https://appleid.apple.com' ,
1704
1704
aud : 'invalid_client_id' ,
@@ -2022,7 +2022,7 @@ describe('facebook limited auth adapter', () => {
2022
2022
}
2023
2023
} ) ;
2024
2024
2025
- it ( ' should use algorithm from key header to verify id_token', async ( ) => {
2025
+ it_id ( '7bfa55ab-8fd7-4526-992e-6de3df16bf9c' , ' should use algorithm from key header to verify id_token (facebook.com) ', async ( ) => {
2026
2026
const fakeClaim = {
2027
2027
iss : 'https://www.facebook.com' ,
2028
2028
aud : 'secret' ,
@@ -2072,7 +2072,7 @@ describe('facebook limited auth adapter', () => {
2072
2072
}
2073
2073
} ) ;
2074
2074
2075
- it ( ' (using client id as string) should verify id_token', async ( ) => {
2075
+ it_id ( '4bcb1a1a-11f8-4e12-a3f6-73f7e25e355a' , ' (using client id as string) should verify id_token (facebook.com) ', async ( ) => {
2076
2076
const fakeClaim = {
2077
2077
iss : 'https://www.facebook.com' ,
2078
2078
aud : 'secret' ,
@@ -2092,7 +2092,7 @@ describe('facebook limited auth adapter', () => {
2092
2092
expect ( result ) . toEqual ( fakeClaim ) ;
2093
2093
} ) ;
2094
2094
2095
- it ( ' (using client id as array) should verify id_token', async ( ) => {
2095
+ it_id ( 'c521a272-2ac2-4d8b-b5ed-ea250336d8b1' , ' (using client id as array) should verify id_token (facebook.com) ', async ( ) => {
2096
2096
const fakeClaim = {
2097
2097
iss : 'https://www.facebook.com' ,
2098
2098
aud : 'secret' ,
@@ -2112,7 +2112,7 @@ describe('facebook limited auth adapter', () => {
2112
2112
expect ( result ) . toEqual ( fakeClaim ) ;
2113
2113
} ) ;
2114
2114
2115
- it ( '( using client id as array with multiple items) should verify id_token', async ( ) => {
2115
+ it_id ( 'e3f16404-18e9-4a87-a555-4710cfbdac67' ) ( '( using client id as array with multiple items) should verify id_token (facebook.com) ', async ( ) => {
2116
2116
const fakeClaim = {
2117
2117
iss : 'https://www.facebook.com' ,
2118
2118
aud : 'secret' ,
@@ -2132,7 +2132,7 @@ describe('facebook limited auth adapter', () => {
2132
2132
expect ( result ) . toEqual ( fakeClaim ) ;
2133
2133
} ) ;
2134
2134
2135
- it ( '( using client id as string) should throw error with with invalid jwt issuer', async ( ) => {
2135
+ it_id ( '549c33a1-3a6b-4732-8cf6-8f010ad4569c' ) ( '( using client id as string) should throw error with with invalid jwt issuer (facebook.com) ', async ( ) => {
2136
2136
const fakeClaim = {
2137
2137
iss : 'https://not.facebook.com' ,
2138
2138
sub : 'the_user_id' ,
@@ -2263,7 +2263,7 @@ describe('facebook limited auth adapter', () => {
2263
2263
}
2264
2264
} ) ;
2265
2265
2266
- it ( ' should throw error with with invalid user id', async ( ) => {
2266
+ it_id ( 'c194d902-e697-46c9-a303-82c2d914473c' , ' should throw error with with invalid user id (facebook.com) ', async ( ) => {
2267
2267
const fakeClaim = {
2268
2268
iss : 'https://www.facebook.com' ,
2269
2269
aud : 'invalid_client_id' ,
0 commit comments