You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/get.md
+12-14Lines changed: 12 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,14 +31,12 @@ If you've ever signed into a site using Google or Facebook instead of your crede
31
31
###Get API credentials
32
32
API credentials consisting of a **client ID** and a **client secret** are needed in order to get Authenticated iDs and/or user permissions.
33
33
34
-
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 [Request API credentials](https://orcid.org/content/register-client-application)
34
+
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.
35
35
36
-
For this tutorial, we'll use a set of demo credentials:
36
+
For this tutorial, please use your own sandbox API credentials:
37
+
38
+
To request API credentials, see [Request API credentials](https://orcid.org/content/register-client-application)
(Demo client secret created for this tutorial - do not share API client secrets!)
43
41
44
42
@@ -54,21 +52,21 @@ To kick off the OAuth process, we'll need to create a special authorization URL
54
52
55
53
| Parameter | Description | Example |
56
54
| ----------| ----------- | ------- |
57
-
|**client_id**| Your Member or Public API client ID (issued by ORCID)<br>To request API credentials, see [Request API credentials](https://orcid.org/content/register-client-application)|```APP-XA6KUTFCVQL0622C```|
55
+
|**client_id**| Your Member or Public API client ID (issued by ORCID)<br>To request API credentials, see [Request API credentials](https://orcid.org/content/register-client-application)|```[APP-*****************]```|
58
56
|**response_type**||```code```|
59
57
|**scope**| API action(s) you want to request permission for, from the list of [ORCID Scopes](https://members.orcid.org/api/oauth/orcid-scopes). | ```/authorize``` <br> ```/activities/update```
60
58
|**redirect_uri**| Page on your site that users will see after they complete the authorization process (must be on the list of allowed redirect URIs you specified when requesting your API credentials) |```https://developers.google.com/oauthplayground```|
61
59
62
-
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:
63
-
60
+
To request permission to add/update activities (affiliations, funding, works, peer review items), our authorization URL will be:
61
+
Enter you own client ID where it says [APP-*****************]
|**OAuth Client ID**|```APP-XA6KUTFCVQL0622C```<br>(Demo client ID created for this tutorial) |
96
-
|**OAuth Client Secret**|```7c8d6b1b-401b-4f5d-9b8b-b8108c6e197c```<br>(Demo client secret created for this tutorial - do not share API client secrets!) |
93
+
|**OAuth Client ID**|```[APP-*****************]```<br>(Demo client ID created for this tutorial) |
94
+
|**OAuth Client Secret**|```0000000-0000-0000-0000-000000000000```<br>(Your own client secret created earlier - do not share API client secrets!) |
97
95
98
96
3. In the **Step 2 Exchange authorization code for tokens** section at left, click **Exchange authorization code for tokens**<br>
99
97
<imgsrc="../images/04-3_exchange-code.png"width="400"alt="Google OAuth Playground exchanging authorization code for access token" />
0 commit comments