deltablot / deltablot/eln.community

Enable ORCID Sandbox for development servers

Open
#147 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6
Forks
0
Avg merge
4h 54m
Merged PRs (30d)
4

Description

Currently, the ORCID OIDC provider is hard-coded to use the production environment `https://orcid.org`. For development and testing, it should be possible to use the ORCID sandbox `https://sandbox.orcid.org` instead. This would allow developers to test authentication with (multiple) sandbox accounts without using real ORCID accounts or production credentials.

I propose enabling the use of the ORCID sandbox through an additional environment variable such as `ORCID_USE_SANDBOX=1`, while keeping the production instance as the default. Alternatively, the use of the sandbox could be triggered by setting `DEV_MODE=1`, but this would make it impossible to use `DEV_MODE=1` with the production ORCID server.

Contributor guide

Open the contributing guide

Research direction

Locate the ORCID OIDC provider configuration and the hard-coded https://orcid.org value, then inspect how environment variables are read. Add a development opt-in for https://sandbox.orcid.org while preserving production as the default, and verify authentication with sandbox accounts plus the unchanged production configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authentication
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.