ADFS & HRD sign in page

Jean-Luc Ch 176 Reputation points
2020-07-09T09:36:25.813+00:00

Hello,

We are facing an issue when applying HRD on lab & prod environement. We have 2 directories for authentication.
We use ADFS installed on Windows Server 2019.
We use OrganizationalSuffix (Set-AdfsLocalClaimsProviderTrust -TargetName "Active Directory" -OrganizationalAccountSuffix @("mydomain.com"), for HRD.
We configured HRD Cookie with "set-adfswebconfig":

HRDCookieLifetime : 30
HRDCookieEnabled : True
ContextCookieEnabled : True

I'm connect to RP, and I'm redirected on ADFS login page

The logon page show only login form without password

I enter @mail, and on the second page, I enter password, and everything is working fine.

I close my session (logout).

On the lab Environment

I reconnect to the RP,

ADFS shows the Signin page with Login and password on the same page.
This is due to HRD cookie lifetime, very good.

One the prod environment

I reconnect to the RP

ADFS shows the signin page with login only. I must click "next".
First, I did believe that que HRD cookie was deleted, but if I choose login which is in the other directory (different from the first login), authentication failed. I'm sure that HRD works fine, but I don't understand this page.

I tested with our custom theme, and I re-activate default ADFS 2019 theme.

What I missed?

Thanks,

Jean-Luc

Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,219 questions
{count} votes

Accepted answer
  1. Jean-Luc Ch 176 Reputation points
    2020-07-17T10:03:42.13+00:00

    Hello,

    The issue has been solved!
    As described, he forms was different if I compare prod & lab.
    We implemented custom themes, and our custom theme had many issues on our prod environment. It was a critical issue.

    We choose to use a security feature "allowAdditionalAuthenticationAsPrimary". It's very interesting.
    If you turn to $true, the form page is different.

    We used 2 directories (AD & OpenLDAP), with organizationalAccountSuffix definition (for HRD page). With this configuration and AllowAdditionalAuthenticationAsPrimary turned to $true, there are some bugs.

    My solution is:

    • specify organizationalAccountSuffix FOR EACH claim provider,
    • Disable AllowAdditionalAuthenticationAsPrimary (Set-AdfsGlobalAuthenticationPolicy -AllowAdditionalAuthenticationAsPrimary $false)
    • if custom themes, re-apply the right theme (when you change parameter, default theme is applied (?!))
    0 comments No comments

0 additional answers

Sort by: Most helpful