Skip to content
This repository was archived by the owner on Apr 3, 2026. It is now read-only.
This repository was archived by the owner on Apr 3, 2026. It is now read-only.

Group memberships not persistent on sign in for OSM profile #1030

Closed

Description

@ofr1tz

Describe the bug
As an OSM auth user of MapSwipe, when I sign out and sign in again with OSM, my existing group memberships are no longer visible on my profile.

To Reproduce
Steps to reproduce the behavior:

  1. Log in with OSM
  2. Go to profile and join a group
  3. The group is listed under "User groups"
  4. Sign out
  5. Log in again with OSM
  6. Go to profile
  7. Under "User Group", it says "No groups yet"

Expected behavior
Group memberships are persistent for OSM auth users.

Additional context
This seems to be part of a larger issue. From what I gather from the respective firebase function code, the user profile is overwritten on each OSM log in. Thus, not only group memberships will disappear, but also taskContributionCount, groupContributionCount, projectContributionCount, and profile creation date are reset to zero/the current datetime on every log in. I verified in Firebase console that the existing user profile was indeed overwritten on log in.

Activity

  1. added
    bug
    on May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions