SSO service creates two tokens for one request

Bug #687523 reported by Roman Yepishev on 2010-12-08
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical SSO provider
Undecided
Unassigned
Ubuntu Single Sign On Client
Status tracked in Trunk
Stable-1-0
High
Natalia Bidart
Trunk
High
Natalia Bidart
ubuntu-sso-client (Ubuntu)
High
Natalia Bidart
Nominated for Natty by Natalia Bidart
Maverick
Low
Unassigned

Bug Description

An attempt to create Ubuntu One tokens using Ubuntu SSO Client creates two tokens visible at https://login.ubuntu.com/+applications with the same name.

To reproduce - try removing Ubuntu One token from +applications and re-authorize the machine. The +application will list two Ubuntu One @ $HOSTNAME tokens.

The same happens with Natty and Maverick clients. The latter has not changed in a while so it must be a server-side issue.

TEST CASE:

Remove all your Ubuntu One credentials in seahorse, in https://login.ubuntu.com/+applications and in https://one.ubuntu.com/account/machines/

Re-add your computer to Ubuntu One with issuing:

u1sdtool -d
u1sdtool -c

Confirm that only one token is added in both:

https://login.ubuntu.com/+applications and https://one.ubuntu.com/account/machines/

Related branches

Natalia Bidart (nataliabidart) wrote :

This probably is a bug in ubuntu-sso-client, so I'm re assigning properly.

Changed in canonical-identity-provider:
status: New → Invalid
Changed in ubuntu-sso-client:
status: New → Confirmed
assignee: nobody → Naty Bidart (nataliabidart)
importance: Undecided → High
tags: added: desktop+ support
Changed in ubuntu-sso-client (Ubuntu):
status: New → Triaged
assignee: nobody → Naty Bidart (nataliabidart)
importance: Undecided → High
Changed in ubuntu-sso-client (Ubuntu Maverick):
status: New → Fix Committed
importance: Undecided → Low
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-sso-client - 1.1.7-0ubuntu1

---------------
ubuntu-sso-client (1.1.7-0ubuntu1) natty; urgency=low

  * New upstream release.

    [ Natalia B. Bidart <email address hidden> ]
       * Avoid generating an extra token when attempting to validate a user
         account (LP: #687523).
       * Documented CredentialsManagement interface (LP: #673054).
 -- Natalia Bidart (nessita) <email address hidden> Thu, 16 Dec 2010 13:32:36 -0300

Changed in ubuntu-sso-client (Ubuntu):
status: Triaged → Fix Released
description: updated

Accepted ubuntu-sso-client into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Roman Yepishev (rye) wrote :

Just ran ubuntu-sso-client 1.0.8-ubuntu1 on a fresh maverick install (from -proposed) - only one token got created in login.ubuntu.com & one.ubuntu.com/account/machines

tags: added: verification-done
removed: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-sso-client - 1.0.8-0ubuntu1

---------------
ubuntu-sso-client (1.0.8-0ubuntu1) maverick-proposed; urgency=low

  * New upstream release.

    [ Natalia B. Bidart <email address hidden> ]
       * Avoid generating an extra token when attempting to validate a user
       account (LP: #687523).
 -- Natalia Bidart (nessita) <email address hidden> Thu, 16 Dec 2010 13:19:01 -0300

Changed in ubuntu-sso-client (Ubuntu Maverick):
status: Fix Committed → Fix Released
tags: added: testcase
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers