Index: chrome/common/extensions/docs/templates/articles/app_identity.html |
diff --git a/chrome/common/extensions/docs/templates/articles/app_identity.html b/chrome/common/extensions/docs/templates/articles/app_identity.html |
index 93d877eb4f8c5dd6e5941242e9c90027abfeeb09..7fb9ba0b3803b80b95cf835269816b6d3e9b0e91 100644 |
--- a/chrome/common/extensions/docs/templates/articles/app_identity.html |
+++ b/chrome/common/extensions/docs/templates/articles/app_identity.html |
@@ -58,7 +58,7 @@ Here are the five steps you need to complete: |
<li>Get the authentication token.</li> |
</ol> |
-<h3>Add permissions and upload app</h3> |
+<h3 id="add_permissions">Add permissions and upload app</h3> |
<p> |
The identity API is still experimental. |
@@ -75,7 +75,7 @@ You can then upload your app to the apps and extensions management page |
] |
</pre> |
-<h3>Copy key to your manifest</h3> |
+<h3 id="copy_key">Copy key to your manifest</h3> |
<p> |
You need to copy the key in the installed |
@@ -97,7 +97,7 @@ It's not the most graceful task, but here's how it goes: |
<li>Copy the "key" in the installed <code>manifest.json</code> and paste it into your app's source manifest file.</li> |
</ol> |
-<h3>Get your client ID</h3> |
+<h3 id="client_id">Get your client ID</h3> |
<p> |
Setting up the client ID is currently not available externally |
@@ -108,7 +108,7 @@ with your stable app ID and |
we will reply appropriately with your OAuth2 client ID. |
</p> |
-<h3>Update your manifest</h3> |
+<h3 id="update_manifest">Update your manifest</h3> |
<p> |
You need to update your manifest to include |
@@ -129,7 +129,7 @@ Here's the sample "oauth2" for the |
} |
</pre> |
-<h3>Get the token</h3> |
+<h3 id="token">Get the token</h3> |
<p> |
You are now ready to get the auth token: |
@@ -151,7 +151,7 @@ Here are the three steps you need to complete: |
<li>Get the authentication token.</li> |
</ol> |
-<h3>Register with the provider</h3> |
+<h3 id="register_provider">Register with the provider</h3> |
<p> |
You need to register an OAuth2 client ID with the provider |
@@ -169,7 +169,7 @@ you should use: |
<code>https://abcdefghijklmnopqrstuvwxyzabcdef.chromiumapp.org/provider_cb</code> |
</p> |
-<h3>Add permissions for provider</h3> |
+<h3 id="permissions_provider">Add permissions for provider</h3> |
<p> |
To make cross-original XHRs to Google API endpoints, |
@@ -185,7 +185,7 @@ you need to whitelist those patterns in the permissions: |
] |
</pre> |
-<h3>Get the token</h3> |
+<h3 id="token2">Get the token</h3> |
<p> |
To get the token: |
@@ -218,7 +218,7 @@ of the app with the full redirect URL. |
The app should extract the token out of the URL. |
</p> |
-<h3>Interactive versus silent mode</h3> |
+<h3 id="interactive">Interactive versus silent mode</h3> |
<p> |
When calling <code>launchWebAuthFlow</code>, |
@@ -246,4 +246,4 @@ if there is a user gesture (for example, the user clicked the Sign In button in |
Note that we do not enforce gesture requirement. |
</p> |
-<p class="backtotop"><a href="#top">Back to top</a></p> |
+<p class="backtotop"><a href="#top">Back to top</a></p> |