[14:15] <bookwar> hi, everyone, when we use launchpad as openid provider, for each user it produces authorization link 'https://login.launchpad.net/+id/<some_hash>' Is it possible to get this link for a particular user via certain API call?
[15:55] <tsimpson> bookwar: you can get it from the HTML of https://launchpad.net/~user or from the XML returned from the same URL but with the 'Accept: application/xrds+xml' header set
[16:14] <bookwar> tsimpson: thanks, found it
[16:35] <dobey> tsimpson, bookwar: or you can use the API for login.ubuntu.com instead
[16:36] <dobey> http://canonical-identity-provider.readthedocs.org/en/latest/resources/account.html
[16:38] <dobey> hrmm, that page only documents how to create a new account
[16:39] <dobey> but i think if you do an OAuth-signed GET to /api/v2/accounts it will return the account info
[16:43] <bookwar> dobey: good to know, i'll take a look
[16:44] <dobey> the "login.launchpad.net" domain is deprecated, so you should move to using "login.ubuntu.com" anywhere you use it in your code
[16:58] <dobey> bookwar: why do you need to get the openid url via the API anyway?
[16:59] <bookwar> dobey: we use launchpad open-id for gerrit authentification
[17:00] <bookwar> and i need a way to create bunch of users and setup their groups before they log in for the first time
[17:00] <bookwar> so i am looking for a way to create gerrit user with openid authentification via script
[17:00] <dobey> bookwar: ok. then the create method on that API should be what you need
[17:01] <bookwar> yes, should be something like that