File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # react-oauth-docusign example code
2+
3+ ## Installation
4+ * Clone, fork, or download as a zip file.
5+ * Enter the directory and type ` yarn install `
6+ * After configuration (see below), type ` yarn start ` to start the
7+ app in development mode.
8+
9+ ## Configuration
10+ Create an integration key (client id) that enables ** Implicit Grant** .
11+ The integration key does not need a secret nor an RSA private key.
12+
13+ Decide if you want the application to redirect its browser tab for authentication
14+ to the DocuSign Identity Provider (IdP) or if it should open a new tab for authentication.
15+
16+ Decide what the application's URL is. For development, the default
17+ application URL is
18+ ` http://localhost:3000/react-oauth-docusign/build `
19+
20+ ### Redirect URIs
21+ Add one or two Redirect URIs to the integration key:
22+ * For redirecting to the IdP, add a Redirect URI that is the same as the application's URL.
23+ * For opening a new tab to the IdP, add a Redirect URI that is the application's URL with
24+ ` /oauthResponse.html ` appended.
25+
26+ ### Configuration file
27+ Copy the file ` public/config_example.js ` to ` public/config.js ` and fill in the settings.
28+
29+ The config.js file should not be stored with the repository.
30+
131# Getting Started with Create React App
32+ (The following is the default Readme for apps built with the Create React App utility.)
233
334This project was bootstrapped with [ Create React App] ( https://github.com/facebook/create-react-app ) .
435
You can’t perform that action at this time.
0 commit comments