Hi Sebastian!
Thanks for this amazing article, trying this as well. but hitting a error when even using the plain ID only function.
I'm using GitHub as my login, but I always get redirect with: http://localhost:3000/?error=server_error&error_description=Database+error+saving+new+user
Is there any way to see what would be wrong?
-- Edit Managed to get it working with the following:
begin insert into public.profiles (id) values (new.id); return new; end;
Hi Chris!
I assume the use of:
NEW.raw_user_meta_data ->> 'user_name'
doesn't work with GitHub?! 🤔
The following PR has introduced this feature: github.com/supabase/gotrue/pull/127
I haven't had time to look deeper into this, but the gotrue repo of supabase should be the right place to investigate (or open an issue).
gotrue
Glad you could fix it and you enjoyed the article!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Sebastian!
Thanks for this amazing article, trying this as well. but hitting a error when even using the plain ID only function.
I'm using GitHub as my login, but I always get redirect with:
http://localhost:3000/?error=server_error&error_description=Database+error+saving+new+user
Is there any way to see what would be wrong?
-- Edit
Managed to get it working with the following:
Hi Chris!
I assume the use of:
doesn't work with GitHub?! 🤔
The following PR has introduced this feature: github.com/supabase/gotrue/pull/127
I haven't had time to look deeper into this, but the
gotruerepo of supabase should be the right place to investigate (or open an issue).Glad you could fix it and you enjoyed the article!