It not easy to notice that developers should call user.reload() on the frontend after updating the user's publicMetadata on the backend when following the guide Add custom onboarding to your authentication flow. Making that call is a necessary part of the logic and has security implication depending on the use-case.
Explanation:
It not easy to notice that developers should call
user.reload()
on the frontend after updating the user'spublicMetadata
on the backend when following the guide Add custom onboarding to your authentication flow. Making that call is a necessary part of the logic and has security implication depending on the use-case.Discord issue: https://discord.com/channels/856971667393609759/1253768303483162644
This PR:
user.reload()
function call.