Enable setting a long query string from the test consumer
Bug #680256 reported by
Stuart Metcalfe
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical SSO provider |
Fix Released
|
Medium
|
Stuart Metcalfe |
Bug Description
In bug #608920 (and follow-up bug #632536) we need to test against a long query string which forces the consumer and provider to send OpenID messages by POST rather than GET. We need to add an option to the test consumer to force this behaviour.
Related branches
lp://staging/~canonical-isd-hackers/canonical-identity-provider/bugs-632536-680256-long-query-improvements
- Anthony Lenton (community): Approve
- Michael Nelson (community): Approve (code)
-
Diff: 141 lines (+36/-21)5 files modifiedidentityprovider/templates/consumer/index.html (+4/-0)
identityprovider/templates/post-assertion.html (+10/-20)
identityprovider/tests/test_middleware.py (+2/-0)
identityprovider/tests/test_views_consumer.py (+8/-1)
identityprovider/views/consumer.py (+12/-0)
Changed in canonical-identity-provider: | |
status: | Confirmed → In Progress |
assignee: | nobody → Stuart Metcalfe (stuartmetcalfe) |
milestone: | none → 2-implementation |
Changed in canonical-identity-provider: | |
milestone: | 2-implementation → 3-internal-qa |
Changed in canonical-identity-provider: | |
status: | In Progress → Fix Committed |
tags: | added: improvement |
tags: | added: kb-task |
tags: |
added: kb-improvement removed: kb-task |
Changed in canonical-identity-provider: | |
milestone: | 3-internal-qa → 11.02 |
Changed in canonical-identity-provider: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Disable JS 10.55.56. 117/+id/ yrTEkRY.
Goto sso.uec/consumer then select the long url, click on continue login, authorise, check auth, click on continue, you should see OpenID authentication succeeded; you authenticated as http://