Problem/Motivation
I'm at DrupalCon Portland2024 and I'm seeing this problem happening with (almost) all new contributors. Launching DrupalPod fails silently when trying to authenticate with git.DrupalCode.org
Steps to reproduce
- Visit https://gitpod.io/user/integrations
- Locate the line that says "GitLab (git.drupalcode.org)"
- Click on the three vertical dots to its right and select "Disconnect"
- Go to https://git.drupalcode.org and ensure you are signed in
- Navigate to https://git.drupalcode.org/-/users/terms
- Click on "Decline and sign out"
- You will need to log into GitPod (it might not matter which option you choose, I've seen most people log in with GitHub)
- You'll see this warning message that you need to authenticate with git.DrupalCode.org

- Then you'll see a pop-up where you agree to the data being shared
- When you click "Authorize" the pop-up will close, but nothing else will happen, the warning message from the original screenshot is still there. It's failed silently.
This problem seems to occur when any of the following conditions exist:
* The user is not confirmed.
* The user has never visited https://git.drupalcode.org and thus has never accepted the TOS there.
* The user's account has been marked as a spammer (incorrectly?) and a higher-level d.o admin needs to unmark them.
Manual Resolution
Until it gets officially resolved, here are the step to resolve it manually:
1. Go to Drupal's user page - https://www.drupal.org/user
2. Click on DrupalCode Access
3. Choose any of the links
Manage GitLab settings on git.drupalcode.org:
Emails
Notifications
SSH Keys
GPG Keys
Preferences
Access Tokens
You will get into the terms page, and it will log you in into drupalcode
4. Scroll down, and click on "Accept Terms"
Proposed resolution
???
Maybe show an error message describing the above 3 scenarios.
Remaining tasks
???
API changes
???
Data model changes
???
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot 2024-05-08 at 3.12.33 PM.png | 282.12 KB | dalin | |
| Screenshot 2024-05-08 at 3.12.15 PM.png | 76.17 KB | dalin |
Comments
Comment #2
rfayThanks for opening this issue @dalin - All of us helped people who had this class of problem at the mentored contribution at Drupalcon Portland 2024.
Comment #3
rfay@shaal this is a key problem when doing mentoring. Any thoughts about how to proceed with this?
Comment #4
dalinComment #5
rfayThanks to @dalin for noting this and pursuing it. It does seem that this isn't a Drupalpod issue, or at least one that can be resolved in Drupalpod, so we need to be explicit about this for both new gitlab users and new Drupal.org users during the contribution workshops. @dalin has provided the exact steps to resolve.
Comment #6
shaalThe core of this issue appears to be related to Drupal users who have not accepted the Drupal Terms of Service (TOS).
I've found a way to replicate the problem that new users might encounter:
For users who want to quickly resolve this issue, follow these steps: