• Maksim Ivanov's avatar
    Implement basic PIN dialog on SAML page · cbbb33cf
    Maksim Ivanov authored
    This CL builds the missing integration between the C++ code (starting
    from the handler of the PIN requests made by extensions) and the
    JavaScript code on the SAML sign-in page:
    
    * dynamically enabling/disabling this UI when the SAML sign-in
      begins/ends;
    * sending the PIN request parameters from C++ to JS;
    * replying with the entered PIN from JS to C++.
    
    The proper error displaying and other UI improvements will be done in
    follow-up CLs.
    
    Bug: 964069
    Test: enroll a Chromebook, configure device policies to force-install smart card middleware onto Login Screen, start logging in using a SAML account that uses smart card authentication, check that the PIN dialog appears on top of the SAML page, enter the smart card PIN, check that the login completes
    Change-Id: I95c2d5e5110a967ca6b7d8f957bbc8422f62d758
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1742233Reviewed-by: default avatarDenis Kuznetsov <antrim@chromium.org>
    Reviewed-by: default avatarAchuith Bhandarkar <achuith@chromium.org>
    Reviewed-by: default avatarRoman Sorokin [CET] <rsorokin@chromium.org>
    Commit-Queue: Maksim Ivanov <emaxx@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#686151}
    cbbb33cf
screen_gaia_signin.js 44.9 KB