raw_app_meta_data isn't available in the insert trigger for auth.users
It seems that
raw_app_meta_data
isn't available on the INSERT
trigger when calling supabase.auth.admin.createUser
. It seems to be available in a trigger if set one for updating.
Is there a way to get this data on the INSERT or is this just how createUser
works under the hood?1 Reply
If you add raise log to both insert and update trigger functions you’ll get a better idea of the process. But it is done on one of several updates.