Skip to content

Commit 7e0a36a

Browse files
Rob BlackburnRob Blackburn
authored andcommitted
url upadate
1 parent 1fc75e4 commit 7e0a36a

File tree

4 files changed

+31
-30
lines changed

4 files changed

+31
-30
lines changed

docs/get.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,11 @@ https://sandbox.orcid.org/oauth/authorize?client_id=[APP-****************]&respo
6565

6666
###Get an authorization Code
6767

68-
1. In a new window or tab, visit remebering to fill in your own APP<br>
69-
[https://sandbox.orcid.org/oauth/authorize?client_id=[APP-*****************]&response_type=code&scope=/read-limited&redirect_uri=https://developers.google.com/oauthplayground](https://sandbox.orcid.org/oauth/authorize?client_id=[APP-*****************]&response_type=code&scope=/read-limited%20/activities/update%20/person/update&redirect_uri=https://developers.google.com/oauthplayground)
68+
1. Copy the below URL, remembering to fill in your own APP details and paste into a new tab.<br>
69+
70+
```
71+
https://sandbox.orcid.org/oauth/authorize?client_id=[APP-****************]&response_type=code&scope=/read-limited%20/activities/update%20/person/update&redirect_uri=https://developers.google.com/oauthplayground
72+
```
7073

7174
2. An ORCID sign-in screen listing the requested permissions will appear; sign into your Sandbox account and click **Authorize**<br>
7275
<img src="../images/04-2_oauth-screen.png" width="400" alt="ORCID OAuth sign-in screen" />

site/get/index.html

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -453,12 +453,9 @@ <h2 id="custom-integration">Custom integration</h2>
453453
</ol>
454454
<h3 id="get-api-credentials">Get API credentials</h3>
455455
<p>API credentials consisting of a <strong>client ID</strong> and a <strong>client secret</strong> are needed in order to get Authenticated iDs and/or user permissions.</p>
456-
<p>To get Authenticated iDs, you can use Public or Member API credentials. To get permission to read non-public information or add/update researchers' ORCID records, you'll need Member API credentials. To request API credentials, see <a href="https://orcid.org/content/register-client-application">Request API credentials</a></p>
457-
<p>For this tutorial, we'll use a set of demo credentials:</p>
458-
<pre><code>client_id: APP-XA6KUTFCVQL0622C
459-
client_secret: 7c8d6b1b-401b-4f5d-9b8b-b8108c6e197c
460-
</code></pre>
461-
456+
<p>To get Authenticated iDs, you can use Public or Member API credentials. To get permission to read non-public information or add/update researchers' ORCID records, you'll need Member API credentials.</p>
457+
<p>For this tutorial, please use your own sandbox API credentials:</p>
458+
<p>To request API credentials, see <a href="https://orcid.org/content/register-client-application">Request API credentials</a></p>
462459
<p>(Demo client secret created for this tutorial - do not share API client secrets!)</p>
463460
<h3 id="create-an-authorization-url">Create an authorization URL</h3>
464461
<p>To kick off the OAuth process, we'll need to create a special authorization URL that sends users to an ORCID sign-in screen. This URL consists of <strong>Authorization endpoint</strong>, plus <strong>Parameters</strong> that identify your organization and the permissions you want to request.</p>
@@ -477,7 +474,7 @@ <h3 id="create-an-authorization-url">Create an authorization URL</h3>
477474
<tr>
478475
<td><strong>client_id</strong></td>
479476
<td>Your Member or Public API client ID (issued by ORCID)<br>To request API credentials, see <a href="https://orcid.org/content/register-client-application">Request API credentials</a></td>
480-
<td><code>APP-XA6KUTFCVQL0622C</code></td>
477+
<td><code>[APP-*****************]</code></td>
481478
</tr>
482479
<tr>
483480
<td><strong>response_type</strong></td>
@@ -496,15 +493,16 @@ <h3 id="create-an-authorization-url">Create an authorization URL</h3>
496493
</tr>
497494
</tbody>
498495
</table>
499-
<p>To request permission to add/update activities (affiliations, funding, works, peer review items) using a demo client ID created for this tutorial, our authorization URL will be:</p>
500-
<pre><code>https://sandbox.orcid.org/oauth/authorize?client_id=APP-XA6KUTFCVQL0622C&amp;response_type=code&amp;scope=/read-limited&amp;redirect_uri=https://developers.google.com/oauthplayground
496+
<p>To request permission to add/update activities (affiliations, funding, works, peer review items), our authorization URL will be:
497+
Enter you own client ID where it says [APP-<strong><em>*</em></strong><strong><em>*</em></strong>***]</p>
498+
<pre><code>https://sandbox.orcid.org/oauth/authorize?client_id=[APP-****************]&amp;response_type=code&amp;scope=/read-limited%20/activities/update%20/person/update&amp;redirect_uri=https://developers.google.com/oauthplayground
501499
</code></pre>
502500

503501
<h3 id="get-an-authorization-code">Get an authorization Code</h3>
504502
<ol>
505503
<li>
506-
<p>In a new window or tab, visit<br>
507-
<a href="https://sandbox.orcid.org/oauth/authorize?client_id=APP-XA6KUTFCVQL0622C&amp;response_type=code&amp;scope=/read-limited&amp;redirect_uri=https://developers.google.com/oauthplayground">https://sandbox.orcid.org/oauth/authorize?client_id=APP-XA6KUTFCVQL0622C&amp;response_type=code&amp;scope=/read-limited&amp;redirect_uri=https://developers.google.com/oauthplayground</a></p>
504+
<p>In a new window or tab, visit remebering to fill in your own APP<br>
505+
<a href="https://sandbox.orcid.org/oauth/authorize?client_id=[APP-*****************]&amp;response_type=code&amp;scope=/read-limited%20/activities/update%20/person/update&amp;redirect_uri=https://developers.google.com/oauthplayground">https://sandbox.orcid.org/oauth/authorize?client_id=[APP-<strong><em>*</em></strong><strong><em>*</em></strong>***]&amp;response_type=code&amp;scope=/read-limited&amp;redirect_uri=https://developers.google.com/oauthplayground</a></p>
508506
</li>
509507
<li>
510508
<p>An ORCID sign-in screen listing the requested permissions will appear; sign into your Sandbox account and click <strong>Authorize</strong><br>
@@ -552,11 +550,11 @@ <h3 id="exchange-authorization-code-for-access-token-authenticated-id">Exchange
552550
</tr>
553551
<tr>
554552
<td><strong>OAuth Client ID</strong></td>
555-
<td><code>APP-XA6KUTFCVQL0622C</code><br>(Demo client ID created for this tutorial)</td>
553+
<td><code>[APP-*****************]</code><br>(Demo client ID created for this tutorial)</td>
556554
</tr>
557555
<tr>
558556
<td><strong>OAuth Client Secret</strong></td>
559-
<td><code>7c8d6b1b-401b-4f5d-9b8b-b8108c6e197c</code><br>(Demo client secret created for this tutorial - do not share API client secrets!)</td>
557+
<td><code>0000000-0000-0000-0000-000000000000</code><br>(Your own client secret created earlier - do not share API client secrets!)</td>
560558
</tr>
561559
</tbody>
562560
</table>

0 commit comments

Comments
 (0)