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
Hello
I'm quite new at using supabase. Every time i update an user i get antoher token in my application cookies. This is stacking and causing the browser to throw an http 431.
I'm using nuxt and the supabase nuxt module.
I'm updating the user 1-10 times a day and can happend within 5 min. this is the code i use to update my user metadata:
const updateUser = async (data: any) => {
try {
const updatedUser = await supabase.auth.updateUser({ data });
return updatedUser;
} catch (error) {
console.error("Error updating user:", error);
throw error;
}
};
Don't know if im using the update user wrong, but the use case is i have a neews/education feed via chat bot gemini. So it's basically just multiple chat instances running on the user feed. But automated. So this needs an user update for every news feed updated (once a day when in production). So the user meta data is updated when the news feed has been updated.
The text was updated successfully, but these errors were encountered:
Hello
I'm quite new at using supabase. Every time i update an user i get antoher token in my application cookies. This is stacking and causing the browser to throw an http 431.
I'm using nuxt and the supabase nuxt module.
I'm updating the user 1-10 times a day and can happend within 5 min. this is the code i use to update my user metadata:
const updateUser = async (data: any) => {
try {
const updatedUser = await supabase.auth.updateUser({ data });
return updatedUser;
} catch (error) {
console.error("Error updating user:", error);
throw error;
}
};
heres the network stacked data:
and heres an example of user_metadata:
https://pastebin.com/jrCtZGND
Version
@nuxtjs/supabase:
nuxt:
Reproduction Link
https://booty-ai.nuxt.dev/
Steps to reproduce
Don't know if im using the update user wrong, but the use case is i have a neews/education feed via chat bot gemini. So it's basically just multiple chat instances running on the user feed. But automated. So this needs an user update for every news feed updated (once a day when in production). So the user meta data is updated when the news feed has been updated.
The text was updated successfully, but these errors were encountered: