@@ -2047,7 +2047,7 @@ describe('facebook limited auth adapter', () => {
2047
2047
2048
2048
it ( 'should use algorithm from key header to verify id_token' , async ( ) => {
2049
2049
const fakeClaim = {
2050
- iss : 'https://facebook.com' ,
2050
+ iss : 'https://www. facebook.com' ,
2051
2051
aud : 'secret' ,
2052
2052
exp : Date . now ( ) ,
2053
2053
sub : 'the_user_id' ,
@@ -2097,7 +2097,7 @@ describe('facebook limited auth adapter', () => {
2097
2097
2098
2098
it ( '(using client id as string) should verify id_token' , async ( ) => {
2099
2099
const fakeClaim = {
2100
- iss : 'https://facebook.com' ,
2100
+ iss : 'https://www. facebook.com' ,
2101
2101
aud : 'secret' ,
2102
2102
exp : Date . now ( ) ,
2103
2103
sub : 'the_user_id' ,
@@ -2117,7 +2117,7 @@ describe('facebook limited auth adapter', () => {
2117
2117
2118
2118
it ( '(using client id as array) should verify id_token' , async ( ) => {
2119
2119
const fakeClaim = {
2120
- iss : 'https://facebook.com' ,
2120
+ iss : 'https://www. facebook.com' ,
2121
2121
aud : 'secret' ,
2122
2122
exp : Date . now ( ) ,
2123
2123
sub : 'the_user_id' ,
@@ -2137,7 +2137,7 @@ describe('facebook limited auth adapter', () => {
2137
2137
2138
2138
it ( '(using client id as array with multiple items) should verify id_token' , async ( ) => {
2139
2139
const fakeClaim = {
2140
- iss : 'https://facebook.com' ,
2140
+ iss : 'https://www. facebook.com' ,
2141
2141
aud : 'secret' ,
2142
2142
exp : Date . now ( ) ,
2143
2143
sub : 'the_user_id' ,
@@ -2174,7 +2174,7 @@ describe('facebook limited auth adapter', () => {
2174
2174
fail ( ) ;
2175
2175
} catch ( e ) {
2176
2176
expect ( e . message ) . toBe (
2177
- 'id token not issued by correct OpenID provider - expected: https://facebook.com | from: https://not.facebook.com'
2177
+ 'id token not issued by correct OpenID provider - expected: https://www. facebook.com | from: https://not.facebook.com'
2178
2178
) ;
2179
2179
}
2180
2180
} ) ;
@@ -2203,7 +2203,7 @@ describe('facebook limited auth adapter', () => {
2203
2203
fail ( ) ;
2204
2204
} catch ( e ) {
2205
2205
expect ( e . message ) . toBe (
2206
- 'id token not issued by correct OpenID provider - expected: https://facebook.com | from: https://not.facebook.com'
2206
+ 'id token not issued by correct OpenID provider - expected: https://www. facebook.com | from: https://not.facebook.com'
2207
2207
) ;
2208
2208
}
2209
2209
} ) ;
@@ -2230,7 +2230,7 @@ describe('facebook limited auth adapter', () => {
2230
2230
fail ( ) ;
2231
2231
} catch ( e ) {
2232
2232
expect ( e . message ) . toBe (
2233
- 'id token not issued by correct OpenID provider - expected: https://facebook.com | from: https://not.facebook.com'
2233
+ 'id token not issued by correct OpenID provider - expected: https://www. facebook.com | from: https://not.facebook.com'
2234
2234
) ;
2235
2235
}
2236
2236
} ) ;
@@ -2288,7 +2288,7 @@ describe('facebook limited auth adapter', () => {
2288
2288
2289
2289
it ( 'should throw error with with invalid user id' , async ( ) => {
2290
2290
const fakeClaim = {
2291
- iss : 'https://facebook.com' ,
2291
+ iss : 'https://www. facebook.com' ,
2292
2292
aud : 'invalid_client_id' ,
2293
2293
sub : 'a_different_user_id' ,
2294
2294
} ;
0 commit comments