Auth0 Home Blog Docs

Should preloading a popup be idempotent?

#1

We’re calling webAuth.popup.preload() as part of our login flow. Sometimes, it appears we’re calling it multiple times. Should this be an idempotent operation, or do we need to ensure we only call preload() once?

The error we’re seeing is this: Uncaught DOMException: Blocked a frame with origin "http://localhost:3449" from accessing a cross-origin frame.

Has anybody else come across this before?