@@ -2081,7 +2081,7 @@ describe('facebook limited auth adapter', () => {
2081
2081
2082
2082
it ( 'should use algorithm from key header to verify id_token' , async ( ) => {
2083
2083
const fakeClaim = {
2084
- iss : 'https://facebook.com' ,
2084
+ iss : 'https://www. facebook.com' ,
2085
2085
aud : 'secret' ,
2086
2086
exp : Date . now ( ) ,
2087
2087
sub : 'the_user_id' ,
@@ -2145,7 +2145,7 @@ describe('facebook limited auth adapter', () => {
2145
2145
2146
2146
it ( '(using client id as string) should verify id_token' , async ( ) => {
2147
2147
const fakeClaim = {
2148
- iss : 'https://facebook.com' ,
2148
+ iss : 'https://www. facebook.com' ,
2149
2149
aud : 'secret' ,
2150
2150
exp : Date . now ( ) ,
2151
2151
sub : 'the_user_id' ,
@@ -2172,7 +2172,7 @@ describe('facebook limited auth adapter', () => {
2172
2172
2173
2173
it ( '(using client id as array) should verify id_token' , async ( ) => {
2174
2174
const fakeClaim = {
2175
- iss : 'https://facebook.com' ,
2175
+ iss : 'https://www. facebook.com' ,
2176
2176
aud : 'secret' ,
2177
2177
exp : Date . now ( ) ,
2178
2178
sub : 'the_user_id' ,
@@ -2199,7 +2199,7 @@ describe('facebook limited auth adapter', () => {
2199
2199
2200
2200
it ( '(using client id as array with multiple items) should verify id_token' , async ( ) => {
2201
2201
const fakeClaim = {
2202
- iss : 'https://facebook.com' ,
2202
+ iss : 'https://www. facebook.com' ,
2203
2203
aud : 'secret' ,
2204
2204
exp : Date . now ( ) ,
2205
2205
sub : 'the_user_id' ,
@@ -2250,7 +2250,7 @@ describe('facebook limited auth adapter', () => {
2250
2250
fail ( ) ;
2251
2251
} catch ( e ) {
2252
2252
expect ( e . message ) . toBe (
2253
- 'id token not issued by correct OpenID provider - expected: https://facebook.com | from: https://not.facebook.com'
2253
+ 'id token not issued by correct OpenID provider - expected: https://www. facebook.com | from: https://not.facebook.com'
2254
2254
) ;
2255
2255
}
2256
2256
} ) ;
@@ -2286,7 +2286,7 @@ describe('facebook limited auth adapter', () => {
2286
2286
fail ( ) ;
2287
2287
} catch ( e ) {
2288
2288
expect ( e . message ) . toBe (
2289
- 'id token not issued by correct OpenID provider - expected: https://facebook.com | from: https://not.facebook.com'
2289
+ 'id token not issued by correct OpenID provider - expected: https://www. facebook.com | from: https://not.facebook.com'
2290
2290
) ;
2291
2291
}
2292
2292
} ) ;
@@ -2320,7 +2320,7 @@ describe('facebook limited auth adapter', () => {
2320
2320
fail ( ) ;
2321
2321
} catch ( e ) {
2322
2322
expect ( e . message ) . toBe (
2323
- 'id token not issued by correct OpenID provider - expected: https://facebook.com | from: https://not.facebook.com'
2323
+ 'id token not issued by correct OpenID provider - expected: https://www. facebook.com | from: https://not.facebook.com'
2324
2324
) ;
2325
2325
}
2326
2326
} ) ;
@@ -2378,7 +2378,7 @@ describe('facebook limited auth adapter', () => {
2378
2378
2379
2379
it ( 'should throw error with with invalid user id' , async ( ) => {
2380
2380
const fakeClaim = {
2381
- iss : 'https://facebook.com' ,
2381
+ iss : 'https://www. facebook.com' ,
2382
2382
aud : 'invalid_client_id' ,
2383
2383
sub : 'a_different_user_id' ,
2384
2384
} ;
0 commit comments