Closed augustgaukstad closed 3 months ago
Hey @thgh - any ETA on when this might be merged? This feature would greatly enhance my Payload-app as I use app roles in Azure to control access control in PayloadCMS
i do think this should be an optional feature like pass in a field to enable this, not sure if everyone would want this.
Added a quick conditional to allow for choosing to update the user info on sign in or not.
Thanks for the PR! Released in v2.2.0 🎉
Added
payload.update
if user has been found in the Payload user-collection, so the user object in PayloadCMS syncs with potential new data from the userinfo-function.Resolves #22