I get a plain text form when I try to log in with an unverified email

Bug #1169635 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical SSO provider
Fix Released
Critical
James Tait

Bug Description

Steps to reproduce:
Make sure you are not logged in to staging SSO.
Go to staging u1.
Register a new user.
Do not verify the email.
Go back to staging u1.

I get a form in plain text, as the screenshot shows.

Related branches

Revision history for this message
Leo Arias (elopio) wrote :
Revision history for this message
James Tait (jamestait) wrote :

This happens when the OpenID response is short enough to be encoded as a URL redirect before signing, but too long to be encoded as a URL redirect after signing. It happens in the work-around to an issue in the openid library itself, whereby a bare HTML form is returned rather than a full HTML document. The openid trunk has fixed the issue (see https://github.com/openid/python-openid/pull/31/files), but according to PyPi there hasn't been a release of the library in almost 3 years.

Changed in canonical-identity-provider:
status: Confirmed → Fix Committed
Revision history for this message
Leo Arias (elopio) wrote :

Tested on staging, it doesn't happen any more.
The problem is that bug #1155656 is now happening again.

Changed in canonical-identity-provider:
assignee: nobody → marek duda (marek-duda1984)
status: Fix Committed → Fix Released
Changed in canonical-identity-provider:
status: Fix Released → Fix Committed
assignee: marek duda (marek-duda1984) → nobody
assignee: nobody → James Tait (jamestait)
Changed in canonical-identity-provider:
status: Fix Committed → Confirmed
summary: - I get a plain text form when I try to log in with an unverified email
+ SUPER CUNTS... I get a plain text form when I try to log in with an
+ unverified email
William Grant (wgrant)
Changed in canonical-identity-provider:
status: Confirmed → Fix Committed
summary: - SUPER CUNTS... I get a plain text form when I try to log in with an
- unverified email
+ I get a plain text form when I try to log in with an unverified email
James Tait (jamestait)
Changed in canonical-identity-provider:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.