[identity] Remote consent flow cookie update
On ChromeOS, new accounts are added through the system settings. Since the remote consent flow uses a separate context for showing the consent page, an account change in settings won't update cookies automatically. This CL sets a listener for account updates in GaiaRemoteConsentFlow that triggers a cookie update. There is no need to reload the consent page because the Gaia OAuth page already handles cookie updates. Bug: 1026237 Change-Id: Ie69a21e3a9715ba4993a16b222f1e07af0c4fdd2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144201 Commit-Queue: Alex Ilin <alexilin@chromium.org> Reviewed-by:David Roger <droger@chromium.org> Cr-Commit-Position: refs/heads/master@{#758819}
Showing
Please register or sign in to comment