Problem/Motivation
There's no need to ask for both full URLs for API and OAuth, as there are only two possible versions, depending on whether you're in sandbox mode or not.
Proposed resolution
Replace the two URLs fields in the settings form by a single "Sandbox" checkbox.
Remaining tasks
Validate MR.
User interface changes
The 2 URLs fields in settings form will be replaced by a single "Sandbox" checkbox:

Data model changes
The 2 URLs text fields in schema will be replaced by a single boolean one for the "Sandbox" state.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | captchetat-config-sandbox-mode.jpg | 78.24 KB | mably |
Issue fork captchetat-3450075
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
mably commentedNeed to have this issue (
CaptchetatService) merged before pushing this issue's MR.Comment #3
ewehbe commentedNeed to be reviewed
Comment #4
ewehbe commentedComment #6
mably commentedComment #7
mably commentedComment #8
mably commentedComment #9
mably commented@ewehbe it should be ok to merge: it has been tested successfully with sandbox and production credentials.
Comment #10
ewehbe commentedComment #12
ewehbe commentedComment #13
ewehbe commentedComment #14
mably commented