• bartfab's avatar
    Fix Chrome OS enrollment with SAML accounts · 9ebcd79e
    bartfab authored
    CL 677703002 caused a regression in the Chrome OS enrollment flow: If
    the user authenticates via SAML and the credentials passing API is not
    used, the enrollment flow will get stuck. This happens because the
    GAIA auth extension wants to proceed with scraped password
    verification but enrollment does not need the password and does not
    implement the verification step.
    
    This CL fixes enrollment by skipping password verification for
    enrollment. The CL also adds a regression test - the first UI-driven
    end-to-end enrollment test AFAICT.
    
    BUG=438471
    TEST=New browser test
    
    Review URL: https://codereview.chromium.org/781623003
    
    Cr-Commit-Position: refs/heads/master@{#308374}
    9ebcd79e
local_policy_test_server.cc 9.46 KB