Is there any way to update the user's app_metadata before login?

I’m making use of Authorization Extension to manage groups, roles and permissions. I’m persisting this info in user’s app_metadata. But, when I try to update this info(using endpoints), it doesn’t get updated instantly. It requires the user to login again in order to see the updated information. So, I’m looking for a way to get this information updated instantly.

Shoudn’t your question be less specific like “Is there any way to update the user’s app_metadata before login?”

Yes. Thanks :slight_smile: