Skip to content

Commit

Permalink
Update web.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ropstah authored Jul 26, 2020
1 parent f961e46 commit 681123d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class OAuth2ClientPluginWeb extends WebPlugin implements OAuth2ClientPlug
// ignore DOMException: Blocked a frame with origin "http://localhost:4200" from accessing a cross-origin frame.
}

if (href != null) {
if (href != null && href.indexOf(this.webOptions.redirectUrl) >= 0) {
let urlParamObj = WebUtils.getUrlParams(href);
if (urlParamObj) {
clearInterval(this.intervalId);
Expand Down

0 comments on commit 681123d

Please sign in to comment.