ory / ory/network

Data mapping not working when updated from settings

Open
#170 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Shell
Stars
96
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Preflight checklist
Describe the bug

When users sign up with a social the metadata gets applied properly. When they link it later the metadata does not get updated properly.

So it happens on register but not on update settings. I think it's because this PR

https://github.com/ory/kratos/pull/2569

Did not address updating social logins from settings.

Reproducing the bug
  • Create a user with email
  • Link an OIDC method that has a valid mapping in settings
Relevant log output

No response

Relevant configuration

No response

Version

Ory Cloud

On which operating system are you observing this issue?

Ory Network

In which environment are you deploying?

Ory Network

Additional Context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the registration flow, where social metadata works, with the settings flow used to link an OIDC method. Read PR #2569 for the related implementation and identify whether the settings update path applies the configured mapping. Done means the reproduction steps produce the same mapped metadata after linking, with regression coverage for both flows.

Written by the indexing model from the issue text.

Assessment

Domain
authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.