Skip to content

oauthcallback.html not working on Edge #36

@zonski

Description

@zonski

The default oauthcallback.html does not seem to work on Microsoft Edge. This code:

    var event = new CustomEvent("oauthCallback", {"detail": window.location.href});
    window.opener.document.dispatchEvent(event);
    window.close();

Fails on the dispatchEvent line with error:

SCRIPT87: SCRIPT87: Invalid argument.

I've as yet not been able to find a way to make Edge call dispatchEvent with a custom event on a parent window.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions