You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When implementing linked account for my side project, i wanted to include the name of the profile the user has logged in, into the account table. After a lot of trial and error I ended up creating a pnpm patch where I pass the name into the object when the linkAccount function is called.
Proposal
My proposal is to pass the whole profile along with the other data, this way in the individual adapter it would be possible to add the fields needed from the profile object if one chose to do so. This would mean every adaptor's linkAccount function would need a small change`, but it's pretty easy to implement and if if accepted I'd be willing to open a merge request.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Non-Goals
Background
When implementing linked account for my side project, i wanted to include the name of the profile the user has logged in, into the account table. After a lot of trial and error I ended up creating a
pnpm patch
where I pass the name into the object when thelinkAccount
function is called.Proposal
My proposal is to pass the whole profile along with the other data, this way in the individual adapter it would be possible to add the fields needed from the
profile
object if one chose to do so. This would mean every adaptor'slinkAccount
function would need a small change`, but it's pretty easy to implement and if if accepted I'd be willing to open a merge request.Beta Was this translation helpful? Give feedback.
All reactions