Skip to content

Commit 34df3ba

Browse files
committed
Rel 1
1 parent 7bb93d1 commit 34df3ba

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "react-oauth-redirect-docusign",
2+
"name": "react-oauth-docusign",
33
"version": "0.1.0",
44
"license": "MIT",
5-
"description": "React code example with OAuth Implicit grant and DocuSign API. It redirects to the OAuth IdP.",
5+
"description": "React code example with OAuth Implicit grant and DocuSign API.",
66
"homepage_comment": "<homepage> is used by the build process as the build target URL path",
77
"homepage": "react-oauth-docusign/build",
88
"private": true,

public/config_example.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ var config = {};
88
// complete as config.js.
99

1010
// Your app's URL
11-
config.DS_APP_URL='http://localhost:3000/react-oauth-new-tab-docusign/build';
12-
// development url default is 'http://localhost:3000/react-oauth-new-tab-docusign/build';
11+
config.DS_APP_URL='http://localhost:3000/react-oauth-docusign/build';
12+
// development url default is 'http://localhost:3000/react-oauth-docusign/build';
1313

1414
// If config.DS_REDIRECT_AUTHENTICATION is true, then add a
15-
// redirect URI to the integration key of DS_APP_URL
15+
// redirect URI to the integration key of DS_APP_URL since
16+
// the OAuth flow will restart the application
1617
//
17-
// If config.DS_REDIRECT_AUTHENTICATION is true, then add a
18+
// If config.DS_REDIRECT_AUTHENTICATION is false, then add a
1819
// redirect URI to the integration key of
1920
// DS_APP_URL/oauthResponse.html
2021

@@ -25,8 +26,11 @@ config.IMPLICIT_SCOPES='signature';
2526
config.DS_IDP='https://account-d.docusign.com';
2627

2728
// Your private API CORS proxies
29+
// Add additional entries for the demo and prod platforms that your
30+
// users' accounts need
2831
config.DS_API_CORS_PROXIES= {
2932
'https://na2.docusign.net' : 'https://xxxproxy.example.com',
33+
'https://na3.docusign.net' : 'https://xxxproxy.example.com',
3034
'https://demo.docusign.net': 'https://xxxproxy.example.com',
3135
}
3236

0 commit comments

Comments
 (0)