e14n / pump2status

Service for finding your StatusNet friends on the pump.io network *and* posting pump.io stuff
Apache License 2.0
9 stars 6 forks source link

No (clear) way to disconnect or reconnect the StatusNet account #9

Open larjona opened 10 years ago

larjona commented 10 years ago

There's no place in the web ui where to disconnect or remove the StatusNet account you have connected. I tried to put my identi.ca account to force an error and maybe like this the field would be left blank, but it's not. I revoked the authorization in the statusnet account, and try to reconnect again, but I get an error:

URL (note the oauth_token) https://pump2status.net/authorized/statusnet/quitter.se?oauth_token=f1998716fa84fd309a20b4e17134353e&oauth_verifier=8df6fcb7aa866605

Text:

Express
500 AlreadyExistsError: Already have a(n) 'shadow' with id 'larjona@quitter.se'

    at /opt/pump2status/node_modules/databank/node_modules/databank-mongodb/lib/mongodb.js:320:34
    at null. (/opt/pump2status/node_modules/databank/node_modules/databank-mongodb/node_modules/mongodb/lib/mongodb/collection.js:337:9)
    at g (events.js:175:14)
    at EventEmitter.emit (events.js:106:17)
    at Server.Base._callHandler (/opt/pump2status/node_modules/databank/node_modules/databank-mongodb/node_modules/mongodb/lib/mongodb/connection/base.js:130:25)
    at /opt/pump2status/node_modules/databank/node_modules/databank-mongodb/node_modules/mongodb/lib/mongodb/connection/server.js:522:20
    at MongoReply.parseBody (/opt/pump2status/node_modules/databank/node_modules/databank-mongodb/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:132:5)
    at null. (/opt/pump2status/node_modules/databank/node_modules/databank-mongodb/node_modules/mongodb/lib/mongodb/connection/server.js:481:22)
    at EventEmitter.emit (events.js:95:17)
    at null. (/opt/pump2status/node_modules/databank/node_modules/databank-mongodb/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:190:13)

If I go to my quitter.se connections, I see:

Unknown application - Approved about 2 minutes ago - "read-write" access.
An anonymous application
Access token starting with: f108a69

Shouldn't the accesss token start with f19987 ?