I am using Chrome headless for testing purposes but I don't know how to make it perform integrated authentication.
I have just tried WebUI.authenticate("localhost", "my name", "my password", 10) but it hasn't worked.
Related
I'm trying to enable sharing of localhost:5000 for all users, who joined my invite link.
I've already done this before by using Visual Studio Code with "Live Share" but I can't find a way how to do that in WebStorm.
I am trying to implement Integrated Windows authentication on Edge, but it always prompts me for credentials, whereas Integrated Windows authentication is working for IE, Chrome and Firefox. I have tried adding the site to local intranet sites in security options and enabled automatic login but no luck on edge browser.
Does Edge support Integrated Windows authentication?
I have tried adding the site to local intranet sites in security options and enabled automatic login as well login with current username and password.
Which version of Microsoft Edge version are you using?
Please check the following configuration to Enable Integrated Windows Authentication:
Open Internet Explorer and select "Tools" dropdown.
Select the "Advanced" tab.
Scroll down to the "Security" section until you see "Enable Integrated Windows Authentication". Select the box next to this field to enable.
Select the "Security" tab.
Select "Local Intranet" and select the "Custom Level" or "Advanced" button.
Scroll down to "User Authentication" > "Logon".
Checked the "Automatic logon with current user name and password" option.
In the "Security" tab, select "Local Intranet" option and click the "Sites" button.
Click the "Advanced" button, then, add your website to the zone.
Close the window and apply the configuration.
If still not working, I suggest you could feedback your issue to Microsoft Edge platform forum, like this thread.
It may be because of AuthServerAllowlist. You can check your policies at edge://policy/.
Specifies which servers to enable for integrated authentication.
Integrated authentication is only enabled when Microsoft Edge receives
an authentication challenge from a proxy or from a server in this
list.
[...]
If you don't configure this policy, Microsoft Edge tries to detect if
a server is on the intranet - only then will it respond to IWA
requests. If the server is on the internet, IWA requests from it are
ignored by Microsoft Edge.
As the documentation states; if your server/site isn't included in the AuthServerAllowlist and Edge can't identify your site as an intranet site Edge won't use Integrated Windows Authentication.
Enabling Integrated Windows Authentication
Use the following procedure to enable silent authentication on each computer.
Open the Windows Settings and search Internet Options.
The following window opens.
Click Local intranet > Sites.
Click Advanced.
Enter the tenant specific URL into the Websites text box.
Click Close.
As far as I can tell and from what I have read, Edge does not support Integrated Windows authentication; at least as of version 42.17134.1098.0.
I have a web app that it can be installed as standalone application in the homescreen thanks to PWA standard.
When a user forget his password, a email is sent to him with a link to reset the password.
Can I deep-link to the already-installed standalone version instead of the web application in chrome browser? I'd like to achieve this behaviour:
User clicks in email link from gmail application.
OS check if link matches with any url schema pre-registered in the system (This is the step that I don't really know if it's possible from web right now)
If found, open the standalone version. Otherwise, open the browser.
There is an example of describing intent filters in json here. The relevant section of the manifest is intent_filters
{
"manifest_package": "org.chromium.webapk.test",
"scope_url": "https://pwa.rocks/",
"intent_filters": {
"scope_url_scheme": "https",
"scope_url_host": "pwa.rocks",
"scope_url_path": "/"
},
"start_url": "https://pwa.rocks/",
"display_mode": "standalone",
"orientation": "portrait",
"theme_color": "2147483648L",
"background_color": "2147483648L",
"icon_urls_and_icon_murmur2_hashes": "http://www.pwa.rocks/icon1.png 0 http://www.pwa.rocks/icon2.png 0",
"web_manifest_url": "https://pwa.rocks/pwa.webmanifest",
"version_code": "1",
"version_name": "1.0",
"bound_webapk": {
"runtime_host": "org.chromium.chrome",
"runtime_host_application_name": "Chromium"
}
}
If you set your scope properly in the manifest.json file, all links in other applications will open in the standalone version instead of the browser. Note that links in the browser will still prefer the browser version instead of the standalone. For example:
"start_url": "/",
"scope": "/",
"display": "standalone"
Note: Navigating directly to https://example.com/app/ from the address
bar will work exactly as the same as it does for native apps that have
an intent filter. Chrome assumes the user intended to visit the site
and will open this site.
Source: developers.google.com/web/fundamentals/integration/webapks
Configure the Android Intent Filters in Web App Manifest as shown here
I am asking me if there is a way to deploy SAP hybrid apps (programmed in WEB IDE) for Android / iOS without having a "local" HAT connector installed?
My intention is that with all this cloud services it should be possible to consume a "build for Android" service in the cloud instead of installing the build stuff on a local developer machine.
This question is a little bit related with these posts:
SAP Mobile Integration with android
SAP HANA Cloud Platform for mobile apps
Yes, this has been implemented end of last year. The prerequisites are as follows:
Subscribe to Portal service
Subscribe to Fiori Mobile service
Create a "default" launchpad in Portal service
Enable the Hybrid App Toolkit plugin in the WebIDE
Now when you create new apps in the WebIDE, on the first page there is a "mobile" checkbox that you need to select. If you have done this, you can trigger a cloud build via the "Fiori Mobile" context menu that you get when you right-click your project. You can find a more elaborate guide here.
I am using Eclipse Juno (Linux) and added TFS plug-in for Eclipse. Server URL https://******ftware.visualstudio.com and added username and password. This is my Microsoft Live ID which got access to Visual Studio online, but it gives an error message Authorization failure connecting to https://******ftware.visualstudio.com using this username and password.
Username and password works well when connecting from browser. Not sure what is going on.
This plug-in works well on a Windows machine.
You may need to use the "alternate credentials" that does not rely on an MSA (Live ID). In the web access you can click on your name in the top right. There should be a settings drop down that lets you enable and set the alternate credentials for Linux.
https://binary-stuff.com/post/how-to-enable-alternate-credentials-in-visual-studio-online-vso