N
Nuxt6mo ago
hz2222

how to add additional data to the user with supabase signUpWithPassword in Nuxt?

how to add additional data to the user with supabase signUpWithPassword in Nuxt?
3 Replies
hz2222
hz2222OP6mo ago
No . I want to have an admin middleware that checks if the user is an admin or not and redirects to the homepage if not, but i have no idea how should I do this bc I dont want to store any secret data like user role in a pinia userStore .
1337
13376mo ago
I don't think user role somehow secret or sensitive data. Anyway middleware need to access user roles in order to check permissions.
Want results from more Discord servers?
Add your server