Supabase Auth
This guide provides step-by-step instructions on integrating Supabase into JetAdmin for creating a unified authentication system.
Pre-requisites
Supabase Account: Ensure you have an active Supabase account.
JetAdmin Account: Similarly, a JetAdmin account is required. Register if you haven't already.
User Table in Supabase: Set up a user table in your Supabase project. It is located at "Authentication" -> "Users"
Setting up custom authentication
This example demonstrates how to add user authentication to JetAdmin with Supabase. In this scenario, access management is performed on the JetAdmin side.
Create a new External Auth Method and select "Supabase auth"
Customize the name and icon (Optional)
Select to which team users are going to be assigned to
Paste your "Reference ID" and "API Key" from Supabase
Save changes
Changing the sign-up page appearance
Publish your changes if you haven't already
Disable/enable those methods that you are planning to use
Check whether the preview is displaying everything correctly
Customize names and icons for your external auth methods
Testing the sign-in flow
Open up a separate browser instance
Navigate to the sign-in page and try to log in using test credentials
Check whether you are signed and have appropriate access
Get back to your admin panel and check whether the user was created in JetAdmin
Last updated