/srv/irclogs.ubuntu.com/2014/10/06/#launchpad.txt

=== lazypower|Travel is now known as lazyPower|Sprint
=== Ursinha-afk is now known as Ursinha
=== karni is now known as karni-lunch
bookwarhi, 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?14:15
=== karni-lunch is now known as karni
=== wedgwood is now known as Guest78028
=== wedgwood1 is now known as wedgwood
=== wedgwood is now known as Guest11202
=== charles_ is now known as charles
tsimpsonbookwar: 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 set15:55
bookwartsimpson: thanks, found it16:14
dobeytsimpson, bookwar: or you can use the API for login.ubuntu.com instead16:35
dobeyhttp://canonical-identity-provider.readthedocs.org/en/latest/resources/account.html16:36
dobeyhrmm, that page only documents how to create a new account16:38
dobeybut i think if you do an OAuth-signed GET to /api/v2/accounts it will return the account info16:39
bookwardobey: good to know, i'll take a look16:43
dobeythe "login.launchpad.net" domain is deprecated, so you should move to using "login.ubuntu.com" anywhere you use it in your code16:44
dobeybookwar: why do you need to get the openid url via the API anyway?16:58
bookwardobey: we use launchpad open-id for gerrit authentification16:59
bookwarand i need a way to create bunch of users and setup their groups before they log in for the first time17:00
bookwarso i am looking for a way to create gerrit user with openid authentification via script17:00
dobeybookwar: ok. then the create method on that API should be what you need17:00
bookwaryes, should be something like that17:01
=== Ursinha is now known as Ursinha-afk
=== bigjools_ is now known as bigjools

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!