Skip to content

Commit 1d18942

Browse files
committed
fixes manfredsteyer#492: skip issuer check in processIdToken if skipIssuerCheck is true
1 parent 0274cf5 commit 1d18942

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
@@ -1500,7 +1500,7 @@ export class OAuthService extends AuthConfig {
15001500
return Promise.reject(err);
15011501
}
15021502

1503-
if (claims.iss !== this.issuer) {
1503+
if (!this.skipIssuerCheck && claims.iss !== this.issuer) {
15041504
const err = 'Wrong issuer: ' + claims.iss;
15051505
this.logger.warn(err);
15061506
return Promise.reject(err);

0 commit comments

Comments
 (0)