-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication not work with Windows Phone 8.1 (universal) #1
Comments
Hi Nhat, I don't have Windows 8.1 development environment so I can't tell you for sure, but basically it drills down to whether
Edit: 1 should be cordova-windows instead of wp8 |
Hi Adrianchia, Thanks for your anwser. But when I installed cordova-inapp-browser, the pop-up ADFS for username/pass didn't display any more on Android. I had also 401 error unauthorized (it worked well with your custom plugin). I think that InAppBrowser of cordova didn't support yet auth-dialog plugin. More information, your custom plugin resolved my problem of redirection with ADFS on Android (I just installed two plugins as you proprosed). When the redirection ADFS returned, it called auth-dialog plugin for display the pop-up username/pass. I try to read your InAppBrowser custom plugin code but I didn't found the code which call auth-dialog when the redirection ADFS returned. I wanna to extend this plugin for support Windows Phone 8 and Windows 8.1. Call you help me, please ? Thank you, Nhat |
Yes, the current InAppBrowser plugin does not yet. This is mentioned in Cordova's Issue Tracking System https://issues.apache.org/jira/browse/CB-8534 and also apache/cordova-plugin-inappbrowser#82. The reason why it worked in Android with Custom Code is that Cordova-Android has added support for auth dialog, which is based on Android WebView (see here). This allows plugins to implement auth dialogs. I am not sure about how Windows Universal App does this but it could break down into several scenarios:
|
Hi Adrianchia,
I'am a newbie on development the applications with Cordova. So, I'm really happy when i found your work with the problem of auth-dialog and in app browser for authenticate with ADFS. Today, I deploy my application on Windows Phone 8.1 (universal) simulator for tester. Unfortunately, the authentication did'nt work. I received 401 error unauthoried comme beginning.
So, can you tell me how to fix this prob in Windows Phone Universal, please ?
Thanks so much,
Nhat
The text was updated successfully, but these errors were encountered: