Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

fetchKycInBrowser: postMessage doesn't work if the form is multi-page #127

@morleyzhi

Description

@morleyzhi

Right now, fetchKycInBrowser attaches a postMessage event listener only when the iframe is initialized. But this is a problem if the interactive flow has multiple pages: a second page load will no longer have the onMessage listener.

Some options:

  • Set the listener someplace other than the interior window context
  • Constantly re-check that the event listener is in place

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions