Refreshing the wiki page immediately after logging in returns and error

Bug #302892 reported by Andrew Glen-Young
4
Affects Status Importance Assigned to Milestone
Moin OpenID module
Fix Released
Medium
Stuart Metcalfe

Bug Description

Reloading the wiki page immediately after successfully logging into the wiki, using OpenID, returns an error "OpenID error: Nonce already used or out of range." The user is also then logged out.

This occurs because the OpenID authentication is resubmitted, which is an obvious error as the nonce has been used already (replay attack prevention). However, this is not obvious to a user who just expects the page to refresh.

Steps to reproduce:

 1. Ensure you're logged out of an OpenID auth enabled wiki.
 2. Click 'Login' link on the wiki.
 3. Click 'Sign In' on the Launchpad OpenID login page.
 4. Once redirected back to the wiki, click 'Refresh'.
 5. Observe the above error message.
 6. Also notice that you are no longer logged in.

Revision history for this message
Stuart Metcalfe (stuartmetcalfe) wrote :

Grabbing this while I'm working on related code

Changed in canonical-bis-openid:
assignee: nobody → stuartmetcalfe
importance: Undecided → Medium
Changed in canonical-bis-openid:
status: New → Fix Committed
affects: canonical-bis-openid → moin-openid
Changed in moin-openid:
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.