cordova-plugin-oauth
cordova-plugin-oauth copied to clipboard
Return full URL with OAuth postMessage
As mentioned in #31 sometimes OAuth parameters are returned as URL fragments as opposed to URL query parameters.
We'd like to keep the existing URL query parameter handling, but it makes sense to also pass through the original URL so the app JS can handle any fragments or other data that it wants.
It looks like @DarrellWu did something similar in a fork for OpenID support: https://github.com/1PlaceNZ/cordova-plugin-oauth/commit/05317e4f97616a782d7c6d7656659af301b1e322