"ORCID_CLIENT_ID" and "BASE_URL_EXTERNAL" should both be defined as env variables. I believe "ORCID_CLIENT_ID" needs to be updated to the new NMDC client_id.
NOTE: To reproduce, make sure to enter https://api.microbiomedata.org/orcid_authorize into your browser's url bar.
Requests to
https://api.microbiomedata.org/orcid_authorize
should redirect to"BASE_URL_EXTERNAL" is evaluated as "https://api.microbiomedata.org/orcid_token" but "ORCID_CLIENT_ID" incorrectly resolves to
None
. The full redirect URL is:"ORCID_CLIENT_ID" and "BASE_URL_EXTERNAL" should both be defined as env variables. I believe "ORCID_CLIENT_ID" needs to be updated to the new NMDC client_id.
NOTE: To reproduce, make sure to enter
https://api.microbiomedata.org/orcid_authorize
into your browser's url bar.