forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SAML cookie interception on ChromeOS with network service.
This is similar to r593703 which fixed the old sign-in flow to work on desktop. The problem is that with network service Set-Cookie headers aren't visible by webRequest API. The fix is to read the cookies using the CookieManager API in C++. Other minor fixes: -FakeGaia doesn't have to set a Path for oauth_code cookie. GAIA doesn't set it in production, and having it set means that the C++ cookie reading code would need to set that path which is unnecessary. -convert SAMLPolicyTest to read cookies through CookieManager Note this doesn't address the Set-Cookie addition in saml_handler.js which still needs to be fixed. Bug: 887061 Change-Id: I902bdf0921f26368d7749838c69f03064e7ea9b4 Reviewed-on: https://chromium-review.googlesource.com/c/1285349 Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Reviewed-by: Roger Tawa <rogerta@chromium.org> Commit-Queue: John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/heads/master@{#600570}
- Loading branch information
John Abd-El-Malek
authored and
Commit Bot
committed
Oct 17, 2018
1 parent
90a499f
commit 4920f91
Showing
13 changed files
with
119 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.