Loop/OAuth Setup: Difference between revisions

m
(Created page with "One feature of the Loop / Hello service is the ability to import contacts from external sources. For Google contacts, user authentication for this feature is achieved by usin...")
 
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:


For Google contacts, user authentication for this feature is achieved by using OAuth. In order to use Google's servers with OAuth, clients need to send an OAuth client ID and a secret during the OAuth procedure. Mozilla has such a key that ships as part of official Firefox builds; however, this key is not available to developers or downstream distributions. In order to make use of the Google contact import feature, non-official builds must provision their own key.
For Google contacts, user authentication for this feature is achieved by using OAuth. In order to use Google's servers with OAuth, clients need to send an OAuth client ID and a secret during the OAuth procedure. Mozilla has such a key that ships as part of official Firefox builds; however, this key is not available to developers or downstream distributions. In order to make use of the Google contact import feature, non-official builds must provision their own key.
'''Note that this information is only useful if you're a developer building your own copy of Firefox. Typical users should not need to worry about OAuth keys.'''


== Step One: Get your Client ID and Key ==
== Step One: Get your Client ID and Key ==
Line 33: Line 35:


=== Option B: Setting Prefs ===
=== Option B: Setting Prefs ===
As an alternative, you may go to </tt>about:config</tt> and set the following prefs (adding them as "string" type if they are not already present):
As an alternative, you may go to <tt>about:config</tt> and set the following prefs (adding them as "string" type if they are not already present):


* loop.oauth.google.clientIdOverride
* loop.oauth.google.clientIdOverride
Line 39: Line 41:


Note that these prefs will override any built-in values, even for official builds; so, if you'd like, you can use them to double-check that the Client ID and Client Secret are working before you build them into a binary.
Note that these prefs will override any built-in values, even for official builds; so, if you'd like, you can use them to double-check that the Client ID and Client Secret are working before you build them into a binary.
[[Category:Firefox Hello]]
canmove, Confirmed users, Bureaucrats and Sysops emeriti
3,698

edits