Are there any examples on how to update user profi...
# general
f
Are there any examples on how to update user profile when they link it using social sign-in ? I came across docs mentioning actions and webhooks but the docs are not clear on what apis to use to add actions
m
Hello @flat-student-27991 Can you please describe what exactly you are looking for? 1. Existing user has email / password configured 2. They link e.g. Google OIDC 3. What should update in the traits/identity now?
what apis to use to add actions
See this document on how to use Ory Actions: https://www.ory.sh/docs/guides/integrate-with-ory-cloud-through-webhooks
f
Hi @magnificent-energy-493 I'm using the admin api to create a user. At that time, I only have the email. Once user links OIDC, I want the trait to automatically include user name given by the OIDC provider For some context, this was recommended by the co-pilot for my use-case https://ory-community.slack.com/archives/C0522079BS5/p1718403953153849 Is this the correct approach ? I went through the document you shared but I wasnt able to identify the apis to use. Can they be added as part of the identity schema ?