I want to make an app which will open a website inside the app. All code works fine with normal websites, but I also want to open a website which is protected by username and password. In normal browser (pc or smartphone) there will appear a popup to enter the username and password (Confirm by “OK” or cancel by “Cancel”).
In my app, it opens the URL but there is no popup where I can enter my username and password. It directly shows “401 Authorization Required”. This is the same message when you “cancel” the popup in normal browser.
How can I fix this and:
- make the popup visible?
- after that, is it possible to automatically sign in and remember the username and password?