WIP feat(oauth): message to native flows

Wrap this in a try/catch to avoid IE blowups - https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent?redirectlocale=en-US&redirectslug=Web%2FAPI%2FEvent%2FCustomEvent#Browser_compatibility