techmatters / terraso-backend

A Django project that powers the backend of Terraso platform.
GNU Affero General Public License v3.0
21 stars 4 forks source link

User data updated with provider information on every login #89

Closed josebui closed 2 years ago

josebui commented 2 years ago

Description

Every time the user logs in the information for the user is overriden

Steps To Reproduce

Steps to reproduce the behavior. Describe what you typed, clicked, tapped, swiped, saw and heard.

  1. Update data of a user names thorugh the Graph QL interface
  2. Login to terraso web client
  3. See how the names are updated

Expected behavior

Updated names should be kept, and provider information should only be used when there is no data

Actual behavior

User names are overriden every time the user logs in

caiocarrara commented 2 years ago

@josebui yesterday I opened this PR that maybe fix this issue:

josebui commented 2 years ago

Closing because fixed in https://github.com/techmatters/terraso-backend/pull/88