Skip to content

Commit b93e1ff

Browse files
Merge pull request #527 from ismcagdas/master
Skip issuer check in processIdToken if skipIssuerCheck is true
2 parents a5f9e38 + 8c2b5b3 commit b93e1ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/lib/src/oauth-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1559,7 +1559,7 @@ export class OAuthService extends AuthConfig {
15591559
return Promise.reject(err);
15601560
}
15611561

1562-
if (claims.iss !== this.issuer) {
1562+
if (!this.skipIssuerCheck && claims.iss !== this.issuer) {
15631563
const err = 'Wrong issuer: ' + claims.iss;
15641564
this.logger.warn(err);
15651565
return Promise.reject(err);

0 commit comments

Comments
 (0)