ADFS basic authentication

testuser7 286 Reputation points
2021-10-06T13:32:14.753+00:00

Hello,

When my web application is sending the browser to ADFS for authentication, ADFS is challenging the user with "BASIC Authentication"
As a result, browser is asking user to provide username and password.

My problem is, if I am using Firefox I get the standard HTML basic-auth popup as attached in the screen-shot.
However, if I am using Edge then I am seeing the native "windows security" popup as attached in the screen-shot.
My understanding is that this is the default interpretation of Edge browser to resolve basic-authentication.
I do not want edge to behave this way.

Is it possible to configure edge to take the standard html popup route ??

138186-image.png

138214-image.png

Microsoft Security Active Directory Federation Services
0 comments No comments
{count} votes

12 answers

Sort by: Most helpful
  1. testuser7 286 Reputation points
    2021-10-07T20:32:57.207+00:00

    No you are not getting the point.
    I know IWA and seamless authentication very will.

    I have not explained the full context and usecase, but my ask is very simple.

    I want to fallback to basic-auth. Period.
    It is happening on firefox and google.

    Edge is over-smarting (lack of better word) and showing me the native windows security popup. I do not want it.


  2. testuser7 286 Reputation points
    2021-10-08T16:45:45.217+00:00

    Chrome and Firefox is falling back on BASIC-AUTH but Edge is NOT


  3. testuser7 286 Reputation points
    2021-10-11T12:45:46.62+00:00

    Thanks @Pierre Audonnet - MSFT

    Yes, I agree with you that ADFS might not be doing truly "WWW-Authenticate: Basic"
    The reason I declared and assumed that it is WWW-Authenticate: Basic is because

    1. the popup was indeed from /adfs/ls..
    2. the popup was indeed true html popup (which you are calling Form-Based-Authentication FBA) in case of Chrome and Firefox

    So far we are on the same page.
    The only thing left is why this FBA is not manifested as true HTML Rendering in case of Edge ?
    If you see my first screen shot at the top of the thread, it is Windows-Security Popup.

    I do not think it is HTML. Is it ?

    Following is my logical understanding. Please correct me if I am wrong.

    As you explained, if the settings on the ADFS side concludes that IWA is not possible in the first place then ADFS will straight away shows the **HTML popup **
    However,
    if ADFS starts with IWA and if the browser is not capable to submit the kerberos Service-ticket then Windows-Security Popup. is employed.
    Technically both are FBA. The GUI interface is different.

    Thanks.

    0 comments No comments

  4. testuser7 286 Reputation points
    2021-10-11T16:25:05.85+00:00

    Hi @Pierre Audonnet - MSFT

    I think now I have better way to explain. So far we were talking more or less same thing but in different format.
    Please focus on these 2 screens. One is from Chrome and other is from Edge.
    If you notice, both have /adfs/ls/wia in URL
    Meaning both user-agents are configured in ADFS to do WIA
    There is no fallback required.

    As expected, the WIA is failing at the browser-end and hence both browsers are showing the popup to collect credentials.
    Popup for chrome is NOT "windows security challenge"
    Can we have same for Edge ?

    Also I have NOT done any configuration on any browser settings (local intranet site etc)

    139581-image.png
    139528-image.png

    Thanks for being with me so far !!!
    Thanks.

    0 comments No comments

  5. testuser7 286 Reputation points
    2021-10-12T18:55:51.167+00:00

    @Pierre Audonnet - MSFT

    what do you think ? Is it interesting or I am just building castles in the air ?

    This "windows security challenge" is a big issue for us.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.