[ 
https://issues.apache.org/jira/browse/CB-8201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14264216#comment-14264216
 ] 

ASF GitHub Bot commented on CB-8201:
------------------------------------

GitHub user sgrebnov opened a pull request:

    https://github.com/apache/cordova-android/pull/143

    CB-8201 Add support for auth dialogs into Cordova Android

    https://issues.apache.org/jira/browse/CB-8201
    
    Makes it possible to provide custom pluggabble logic to process auth 
challenge (for example by installing corresponding plugin, sample 
implementation: https://github.com/msopentech/cordova-plugin-auth-dialog).
    
    *Motivation*
    If you load some resource which requires authentication using android 
default browser default login dialog appears, but if you try to load the same 
resource using cordova app then no dialog is shown for user and request is 
failed w/ 401 Unauthorized. So Currently apps have to provide own JS logic to 
show web based auth dialog. 
    
    It will be great if Cordova Android offers special functionality (in core 
or via special interface plugin developers can extend) to automatically show 
native auth dialog. This is extremely useful in corpnet scenarios where all 
resources requires user to be authenticated.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-android CB-8201

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-android/pull/143.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #143
    
----
commit 05c805b9bc1b9df09449a4c12fb9b4fd5abcf9cb
Author: sgrebnov <[email protected]>
Date:   2014-12-22T12:58:26Z

    CB-8201 Add support for auth dialogs into Cordova Android

----


> Add support for auth dialogs into Cordova Android
> -------------------------------------------------
>
>                 Key: CB-8201
>                 URL: https://issues.apache.org/jira/browse/CB-8201
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>            Reporter: Sergey Grebnov
>            Assignee: Sergey Grebnov
>              Labels: android, authentication
>
> If you load some resource which requires authentication using android default 
> browser default login dialog appears, but if you try to load the same 
> resource using cordova app then no dialog is shown for user and request is 
> failed w/ 401 Unauthorized. So Currently apps have to provide own JS logic to 
> show web based auth dialog.
> It will be great if Cordova Android offers special functionality (in core or 
> via special interface plugin developers can extend) to automatically show 
> native auth dialog. This is extremely useful in corpnet scenarios where all 
> resources requires user to be authenticated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to