go-vikunja / vikunja

Mirror of vikunja from https://code.vikunja.io/api
GNU Affero General Public License v3.0
773 stars 56 forks source link

Changing data in SSO provider resets the entire configuration object #108

Closed Spiritreader closed 5 months ago

Spiritreader commented 5 months ago

Description

Hello!

When a user changes their e-mail address in the SSO provider, the respective database object in vikunja gets updated as expected. (Checked with pgadmin by querying the user table before and after) However, all other user configurable settings are reset to default in the process. For example avatar configuration, visibility options, week start date etc.

Ideally, it would be awesome if only the fields are changed that are actually updated via the SSO provider. Not a big issue in any way, just stumbled across this when I updated my e-mail in authentik.

Vikunja Frontend Version

0.22.0

Vikunja API Version

v0.22.0

Browser and version

Firefox 123.03b

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

No response

kolaente commented 5 months ago

Duplicate of https://github.com/go-vikunja/api/issues/107