https://supabase.com/ logo
Join Discord
Powered by
# off-topic
  • j

    Jason Creviston

    12/05/2022, 12:19 AM
    I don't wanna spam this channel about it, but text only post was fine. Either the issue is gone or there's something about my other post it didn't like. Gonna continue testing.
  • j

    Jason Creviston

    12/05/2022, 12:30 AM
    A longer, text-only post failed. Oh well, maybe tomorrow lol.
  • k

    Keystroke

    12/05/2022, 4:16 AM
    same issue happened to me, try to create post and it says error occurred then the time-out occurs. I think there is a bug based on what tags you select.try picking tags you see on successful post, don't use the ones in the more dropdown
  • l

    Luv

    12/05/2022, 4:55 AM
    classic discord
  • s

    Solias

    12/05/2022, 6:57 AM
    hey guys, loving supabase so far just one small problem: useUser() hook returns null, when I try using this: (despite me being logged in) https://supabase.com/docs/guides/auth/auth-helpers/nextjs
  • l

    Luv

    12/05/2022, 8:00 AM
    idk how the hooks checks for active logged in user, but maybe check if the session data is being stored somewhere in your app
  • l

    Luv

    12/05/2022, 8:00 AM
    btw open a post on #1006358244786196510 forum
  • s

    Solias

    12/05/2022, 8:01 AM
    It is , i checked
  • s

    Solias

    12/05/2022, 8:01 AM
    I already did. This seems like a critical issue
  • l

    Luv

    12/05/2022, 8:01 AM
    looks like u already did
  • s

    silentworks

    12/05/2022, 10:34 AM
    Heads up that there will be a planned Storage Maintenance tomorrow https://status.supabase.com/incidents/l9dt0n32xssn
  • m

    Minseven

    12/05/2022, 11:10 AM
    Hi all, I'm discovering Supabase and wanted to know what's the recommended method of how to enable my backend to send emails when certain events occur? Lilke on creation for certain process, send email (I'm not talking specifically about Auth here). Do you have related documentation? Thanks for your help
  • m

    madjar

    12/05/2022, 11:11 AM
    you can maybe add listeners to the changes in the database
  • m

    madjar

    12/05/2022, 11:12 AM
    now i guess if its auth only, theres already emails present in the current sdk, so if you do supabase-js.login() or whatever, it should invoke the email send
  • k

    Killtec

    12/05/2022, 11:13 AM
    Hi all, i am trying to pack "const { data, error } = await supabase.auth.getSession()" into some kind of async await with typescript, this is not really supabase specific but maybe someone can point me to the right direction 🙂
  • m

    madjar

    12/05/2022, 11:14 AM
    if you want to do your own hosting, you will have to set up the smtp server, which i failed to do and i have no clue how to tbh, but ill figure it out, so in that case idk if i can help. But if you're using supabase cloud project, then you're all covered for auth stuff i think, its automatically sending reset password links, register confirmation links etc. If you want to go further than that, you should maybe add listeners to the changes in the database (they have a realtime service written in elixir, good job!), and then you could add maybe some database policies or something, let me try to find the link
  • m

    Minseven

    12/05/2022, 11:16 AM
    Own hosting woud be an awesome idea as I'm using Sendinblue wich handle template, sendings, etc. Problem is, I don't see how to setup all of this to work correctly
  • m

    madjar

    12/05/2022, 11:19 AM
    are you using it as an online service or/
  • m

    madjar

    12/05/2022, 11:19 AM
    are you self hosting on your own server with docker-compose / anything else
  • m

    Minseven

    12/05/2022, 11:23 AM
    online service*
  • k

    Killtec

    12/05/2022, 11:26 AM
    is there an easy way to check if a user is logged in? Or can i only do that with "const { data, error } = await supabase.auth.getSession()" ?
  • m

    madjar

    12/05/2022, 11:27 AM
    You should have a section dedicated to that, let me find it
  • m

    madjar

    12/05/2022, 11:28 AM
    mind the activate windows sign
  • m

    madjar

    12/05/2022, 11:28 AM
    so in your general settings, find the auth section and try to enable your own custom smtp instead of supabase's one
  • m

    madjar

    12/05/2022, 11:28 AM
    not really sure as i tried with self hosted ones
  • m

    madjar

    12/05/2022, 11:29 AM
    yeah thats it
  • m

    madjar

    12/05/2022, 11:29 AM
    no clue, prolly you can check for jwt token or something
  • m

    madjar

    12/05/2022, 11:29 AM
    if you stored it
  • m

    madjar

    12/05/2022, 11:30 AM
    i mean when you login, you should have jwt somewhere, either stored in localstorage or something, im not the best on these : D
  • m

    madjar

    12/05/2022, 11:31 AM
    but you could check for in-memory stuff, idk if auth api docs have any sort of function
1...308309310...392Latest