apache / apache/cordova-plugin-inappbrowser
Add something similar to onReceivedHttpAuthRequest from Android Version to iOS Version
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
# Feature Request
## Motivation Behind Feature
We want to perform basic auth.
## Feature Description
In the Android Version of this plugin it is possible to "inject" some basic auth. We want to do this in the ios Version aswell.
## Alternatives or Workarounds
We extendes the method onReceivedHttpAuthRequest in android like so:
```
if (UserName != null && Password!= null) {
handler.proceed(UserName, Password);
return;
}
```
Username and password will be fetched out of a parameter from the url.
Contributor guide
Research direction
Start by comparing the Android implementation of onReceivedHttpAuthRequest with the iOS version of this plugin and identify the corresponding authentication entry point. Confirm how the requested username and password are supplied, then verify that iOS can provide equivalent basic-auth handling and that the feature works for an authenticated URL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, ios, java, objective-c
- Domain
- authentication, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100