auth.users - customization #924
-
Guys, I want to use the Auth API already in place but my requirements ask for a way to invalidate the user and also, some extra field like name and profile settings. So, is there a way to invalidate a user in place? Also, would it be possible to add extra fields to auth.users and update those extra columns or the best approach is to create a public.users? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I think you would have to come up with your own solution to invalidate a user like by using a flag or something in your table. Having the public.users table is the best approach for additional data. |
Beta Was this translation helpful? Give feedback.
-
In terms of having a public.users table, what would be the best approach to linking a specific row to a a user in auth.users? At the moment, I'm considering having an When a user signs up via a third party provider (e.g. Facebook, Github, Google) and is redirected back to my application (i.e. my app frontend), what would be the best approach to link both? It definitely doesn't feel safe to be inserting the |
Beta Was this translation helpful? Give feedback.
I think you would have to come up with your own solution to invalidate a user like by using a flag or something in your table. Having the public.users table is the best approach for additional data.