After signing in incorrectly, signing in correctly goes to the wrong place

Bug #1257303 reported by Ratnadeep Bhattacharjee
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Canonical SSO provider
New
Undecided
Unassigned

Bug Description

If while connecting to my Canonical Gmail account I enter the wrong password on login.ubuntu.com and then enter the correct password I am not redirected back to GMail. I have to type gmail.com on the URL bar, enter my canonical userid and hit enter...login.ununtu.com should be able to remember the redirect URL even during failed login attempts.

Similar to bug 1083145, about the diversion to setting up a backup device.

description: updated
summary: - Identity provider should remember redirect URL
+ After signing in incorrectly, signing in correctly goes to the wrong
+ place
Michał Sawicz (saviq)
Changed in canonical-identity-provider:
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

In the process of working on some other related bugs, I tried to reproduce this (admittedly with a different OpenID consumer, since I don't use the Canonical Gmail service) but found that it all seemed to work: the first form was /:token/+decide (where :token was the OpenID request token assigned by SSO to identify the exchange); entering an incorrect password there sent me to /:token/+login; and entering a correct password there eventually sent me back to the originating site.

I think that this bug has probably been fixed along the way, although I've been unable to identify a relevant code change that happened after it was filed. Please could anyone who experienced this bug in the past check whether you still see it? (Note that for these purposes I'm only interested in problems with this specific flow; I know that there are other ways you can end up having the OpenID request token forgotten along the way, and I have a merge proposal up that fixes quite a number of these.)

Changed in canonical-identity-provider:
status: Confirmed → Incomplete
Revision history for this message
Michał Sawicz (saviq) wrote :

I just confirmed this with logging into google:

1) log out from https://login.ubuntu.com/
2) log out from google
3) go to https://accounts.google.com/
4) select the LP-backed account
5) provide a wrong password
6) provide the correct password
7) provide 2fa key
8) (BUG) you're left on https://login.ubuntu.com/ instead of being redirected back to google

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Reproduced with a snapcraft.io demo server.

I think bug 1083145 is a specific example of this bug.

Changed in canonical-identity-provider:
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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