cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CB-14013) cordova-plugin-inappbrowser support for custom URL schemes, as needed for oAuth
Date Thu, 12 Apr 2018 19:03:00 GMT


ASF subversion and git services commented on CB-14013:

Commit 50db5c498c3760a4df9ea4ab569de2832ac19f7f in cordova-plugin-inappbrowser's branch refs/heads/master
from [~bowserj]
[;h=50db5c4 ]

Merge pull request #263 from SailingSteve/CB-14013-InAppBrowser-AllowCustomSchemes

CB-14013: (android) Change the InAppBrowser to allow custom schemes for oAuth

> cordova-plugin-inappbrowser support for custom URL schemes, as needed for oAuth
> -------------------------------------------------------------------------------
>                 Key: CB-14013
>                 URL:
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: cordova-plugin-inappbrowser
>    Affects Versions: cordova@7.0.0
>            Reporter: Steve Podell
>            Priority: Major
>   Original Estimate: 72h
>  Remaining Estimate: 72h
> A very common usage of the inappbrowser is to open a URL to the apps server, as part
of the oAuth flow.  After a secure token is created, the final step in the oAuth flow is
to redirect back to the Cordova app, to proceed as authenticated.  At the WeVote open source
project we use this to authenticate with Twitter and Facebook, other projects want to authenticate
with Google, Whatsapp, Skype, etc. 
> There is a package for React Native react-native-oauth that does this, and I was able
to get oAuth working for iOS with cordova-plugin-safariviewcontroller, but there is nothing
that is stable, maintained, and working that is equivalent for Android.
> A pull request will follow that uses whitelisted schemes to allow the oAuth redirect
to complete through the InAppBrowser.  It is a fairly simple code change, that leads to a
simple end user implementation, that should be widely appreciated (based on years of mostly
unfulfilled Stack Overflow chatter.)
> This PR builds on  []
and [] and builds on a good
suggestion from *[NGumby|]* and comments about viability from *[infil00p|]*

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message