Content
Head over to your site on localhost:3000
- In the navbar, click Sign Up to navigate to the signup page.
- Complete the signup process using your email and password.
- Verify your email with the code sent to you.
(If you haven't set up Resend, the email will come fromnoreply@mail.app.supabase.io
.) - The
admin
button will already be visible but it will not work immediately. - Go to your Supabase dashboard, select the users table in the Table Editor, and find your user entry.
- Manually change your
is_super_admin
field fromFALSE
toTRUE
so that the application recognizes you as a super admin. - As we are caching the user object, you will need to revalidate it. Head over to http://localhost:3000/account/user-profile and make a change to your profile. This will trigger a revalidation of the user object.
- In the sidebar you will see the Admin button. Click it to access your Admin Dashboard. You see this button even before revalidating the user object, because this button uses client-side authentication. However, it will not work until the user object is revalidated on the server side.