Summary: | Provide a pseudo-mechanism for vendor-specific SASL mechanisms | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Will Thompson <will> |
Component: | gabble | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED MOVED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | jamielennox, marco.barisione, reuben_p, xclaesse, zeuthen |
Version: | git master | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Will Thompson
2011-05-19 09:22:56 UTC
BTW: • off the top of my head, X-GOOGLE-TOKEN is essentially PLAIN but with an OAuth token rather than the password (i.e. sha1('\0' + username + '\0' + token); • X-FACEBOOK-PLATFORM is slightly more involved, but the only external information the XMPP client needs is still just an OAuth 2 token, so the pseudo-mechanism I describe above could be implemented: <https://developers.facebook.com/docs/chat/>. This implies that Gabble would have to contain a Facebook API key. Perhaps there could be a hook to allow an alternative API key to be provided by distributors without patching Gabble itself. For the record, https://bugzilla.gnome.org/show_bug.cgi?id=652546 and https://bugzilla.gnome.org/show_bug.cgi?id=652544 are the empathy bugs about Google and Facebook SSO support. (In reply to comment #1) > • X-FACEBOOK-PLATFORM is slightly more involved, but the only external > information the XMPP client needs is still just an OAuth 2 token, so the > pseudo-mechanism I describe above could be implemented: > <https://developers.facebook.com/docs/chat/>. Did not check latest doc, but empathy's code also uses the client-id of the app. (In reply to comment #4) > (In reply to comment #1) > > • X-FACEBOOK-PLATFORM is slightly more involved, but the only external > > information the XMPP client needs is still just an OAuth 2 token, so the > > pseudo-mechanism I describe above could be implemented: > > <https://developers.facebook.com/docs/chat/>. > > Did not check latest doc, but empathy's code also uses the client-id of the > app. well, if I read everything, I see you pointed that out already :-) Note that API key depends on the account storage! We have GOA and UOA atm... -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-gabble/issues/147. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.