Skip to content

Commit

Permalink
Merge pull request #1042 from microbiomedata/1041-orcid-considers-red…
Browse files Browse the repository at this point in the history
…irect-uri-in-developer-guide-httplocalhost8080-to-be-invalid
  • Loading branch information
naglepuff authored Aug 25, 2023
2 parents 5bfb417 + e18054c commit f16bc8d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ Edit values in `.env` to point to existing postgresql databases.

See `nmdc_server/config` for configuration. Env variable names begin with `NMDC_`.

1. Create an OrcID account at orcid.org
1. Create an OrcID API Token in the [developer tools](https://orcid.org/developer-tools)
1. Set the redirect URIs to `http://localhost:8080` (Ignore the error about https, it's just a warning).
1. Create an OrcID account at [orcid.org](https://orcid.org).
1. Create an Application via the OrcID [developer tools](https://orcid.org/developer-tools) page.
- Set the Redirect URIs (the first and only one) to `http://127.0.0.1:8080`
- Note: OrcID has changed the validation logic for this form field over time.
- In case you run into validation errors, you may find [this issue](https://github.com/microbiomedata/nmdc-server/issues/1041) helpful.
- You will use the resulting **Client ID** and **Client Secret** in the next step.
1. Set the following configuration in `.env`, and then restart the stack.

```bash
Expand Down

0 comments on commit f16bc8d

Please sign in to comment.