authentication role setting using SUPABASE


Hi can you help me?

I made a teaching journal app using supabase, formerly firebase. at login, I made a condition that if roleid == 1 then he will go to the teacher's page, if roleid == 2 then go to the admin page. But how do you make it so that the subbase can use this role feature? because when I search for authenticated users there is no such option, even though in the users and auth tables I have added the roleid Join field to the roles table, before that I used firebase and it worked fine, can the roleid options be added? Thank You

1
4 replies