On 8/10/11 9:41 AM, "Thijs Alkemade" <thijsalkem...@gmail.com> wrote:
> Oh, if I remember that correctly from the presentation at the XMPP summit at > FOSDEM, it works pretty similar to how we set up Facebook's OAuth in 1.4.3. > During the authentication, we open a WebView where the user has to log in to > Facebook and grant Adium access. So there's probably quite a bit of code that > could be reused from that. :) With the added benefit that you don't need to retrieve any information from the WebView. > The only tricky part would be, when creating an account we don't know if the > server supports this in advance so we will always ask the user to supply a > password there. But we could make it show "(optional)", like IRC accounts. That's probably a good idea, since there are other authentication mechanisms such as EXTERNAL (X.509 client cert) and GSSAPI (Kerberos5) that don't require a password. -- Joe Hildebrand