Closed (fixed)
Project:
Strava API
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Jul 2026 at 11:35 UTC
Updated:
29 Jul 2026 at 19:55 UTC
Jump to comment: Most recent
Comments
Comment #2
markconroy commentedComment #3
f0ns commentedComment #4
f0ns commentedClosing as won't fix.
Auto-creating a Drupal user from an anonymous Strava login is not something we can support properly. Since the authentication and scope change in #3007441, the Strava API no longer exposes the athlete's email address, and there is no scope that returns it.
We could technically create an email-less account keyed on the Strava athlete id, but that account would be second-class in Drupal:
Instead of auto-creating accounts, the supported flow is now "link, don't create": a visitor registers or logs into Drupal normally, then connects their Strava account while authenticated. That path needs no email address.
AthleteManager::createAthlete()intoAthleteUserHandler::connect(), so the athlete entity is now created on first connect for an authenticated user (and re-linked rather than duplicated on reconnect).UserManager::registerUser(),getUserByEmail(),AthleteUserHandler::userExists()/userCreate()) that this feature used to depend on.If a site genuinely needs "sign in with Strava" style account creation, that is better handled by a dedicated external-auth integration (for example a contrib OAuth login bridge) rather than by this module fabricating email-less accounts.
Comment #6
f0ns commentedComment #9
f0ns commentedDocumented in code that anonymous auto-registration is intentionally unsupported because this is not possible with the Strava API (no email).