Set AWS Config
At present, AWS uses a dummy config, so we don't need to change anything, but in actual implementation, you need to set poolId and appClientId in the following file. For more detail refer to supabase here:https://supabase.com/arrow-up-right
... ## Supabase VITE_SUPABASE_URL= VITE_SUPABASE_ANON_KEY= ...
Change Config
export const APP_AUTH: AuthProvider = AuthProvider.SUPABASE;
Change AuthProvider
Comment another provider in the following file and uncomment Supabase one.
import { SupabseProvider as AuthProvider } from 'contexts/SupabaseContext';
Change Auth Hooks
Comment another context in the following file and uncomment Supabase one.
Last updated 1 year ago
import AuthContext from 'contexts/SupabaseContext';