inspired by a portfolio from a show and tell a while ago, im deciding to add a admin dashboard and have all blogs stored in a supabase database !
i want to use github auth (so i don’t have to remember a special password). im using a lot of templated code from supabase docs, but i’ve never done auth or anything really with supabase that much before, so there was a lot of trial and error. but i validate myself now! i can login with github and retrieve my email.
while the ‘validation’ is just email == my email, i intend to add more validation with the supabase sql query. there will be a policy that only allows a user authenticated as me to update the database, and that’ll be the real validation. but right now, only the invisible sort of auth is done.
Log in to leave a comment