Merge lp:~canonical-isd-hackers/canonical-identity-provider/bug_392101_cookie_test_alt into lp:canonical-identity-provider/release
Proposed by
David Owen
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 54 | ||||
Proposed branch: | lp:~canonical-isd-hackers/canonical-identity-provider/bug_392101_cookie_test_alt | ||||
Merge into: | lp:canonical-identity-provider/release | ||||
Diff against target: |
250 lines (+96/-6) 8 files modified
identityprovider/decorators.py (+14/-0) identityprovider/templates/cookies.html (+18/-0) identityprovider/tests/test_views_ui.py (+41/-4) identityprovider/tests/utils.py (+3/-0) identityprovider/urls.py (+1/-0) identityprovider/views/account.py (+13/-1) identityprovider/views/ui.py (+4/-1) scripts/test (+2/-0) |
||||
To merge this branch: | bzr merge lp:~canonical-isd-hackers/canonical-identity-provider/bug_392101_cookie_test_alt | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Canonical ISD hackers | Pending | ||
Review via email: mp+26104@code.launchpad.net |
Description of the change
Added checks for cookies to the major entry points, except the root. Root can't have a redirect because it's used as a service endpoint for other servers (OpenID Relying Parties).
To post a comment you must log in.
I found the Django test client used in some of our unit tests (I hadn't known about this test client before). It doesn't follow redirects automatically, you have to walk it through them. I think I'd be able to use this to test the cookie-test flows, but our doctests I think aren't setup for this client yet.