lanbau
05/22/2022, 2:49 PMawait supabase.auth.api.resetPasswordForEmail(email, {
redirectTo: `${window.location.origin}/reset-password`,
});
https://xxx.supabase.co/auth/v1/verify?token=fvtgjvsxjajktseuqshp&type=recovery&redirect_to=http://localhost:3000/reset-password
when i checked the link, it has the token but when it redirects to my page, the url only has a single hash.. without the token, i can't update my user's password..
This is on nextjs
any idea what could be the issue?Bicijay
05/22/2022, 3:33 PMkevindmoore
05/22/2022, 4:42 PMApe R Us
05/22/2022, 5:22 PMconst update = async () => {
try {
const { error } = await supabase.from('event_ticket').insert([{ name, event_id }]);
if (error) throw error;
} catch (e) {
console.log(e.message);
} finally {
console.log('success');
$showModel = false;
document.body.classList.remove('overflow-y-hidden');
}
};
Jingly
05/22/2022, 9:33 PMsupabaseClient = createClient()
will allow access to one and only one schema. Right now a non-authenticated user will access the public schema. Once authenticated, I want to change the accessed schema. Currently, I just override the supabaseClient with createClient({schema: 'new-schema')
. Is there a better way to go about this approach? Also, will overriding the variable allow the connection to the public schema to remain open?martinemmert
05/22/2022, 10:05 PMlocalhost
. I searched the web for nearly an hour, but I did not have any luck since the search terms are so common. Is there a way to alter the hostname?Needle
05/22/2022, 10:59 PMDanMossa
05/23/2022, 1:49 AMrogerthat52
05/23/2022, 3:09 AMlanbau
05/23/2022, 3:19 AMNeedle
05/23/2022, 4:19 AMVolkan
05/23/2022, 4:52 AMYeezy
05/23/2022, 12:23 PMkevindmoore
05/23/2022, 1:56 PMasleepingpanda
05/23/2022, 2:22 PMtimeforpoptarts
05/23/2022, 2:32 PMian_
05/23/2022, 11:01 PMnahtnam
05/23/2022, 11:31 PM--project-ref
flag. Could someone help take a look/debug?lanbau
05/24/2022, 1:19 AMjoshcowan25
05/24/2022, 1:19 AMdirective
05/24/2022, 2:09 AMJayStavis
05/24/2022, 2:19 AMhttps://app.supabase.io/?error=server_error&error_description=failed+to+connect+to+%60host%3Dprod...
lanbau
05/24/2022, 2:45 AMvinciarts
05/24/2022, 5:03 AMjaitaiwan
05/24/2022, 7:04 AMNeedle
05/24/2022, 10:45 AMHallidayo
05/24/2022, 12:05 PMDaniel_pttb
05/24/2022, 2:48 PMschwarzsky
05/24/2022, 3:40 PMUser Management Starter
but in public.profiles
table: supabase does not save the user.user_metadata.username
, it saves e-mail for username. Any idea how to solve it?madsbuch
05/24/2022, 5:03 PM~/a/web ❯❯❯ supabase db push
Applying unapplied migrations...
Error: ERROR: permission denied for schema graphql_public (SQLSTATE 42501)
Migrations work locally, but not remove. Neither on our existing project or completely newly created projects