https://supabase.com/ logo
Join Discord
Powered by
# help
  • t

    TremalJack

    02/28/2022, 10:58 PM
    I checked the doc of goTrue as well, but nothing, just some ways to generate a new jwt or refresh it using the refresh token
  • t

    TremalJack

    02/28/2022, 10:59 PM
    nothing about revoke a JWT and no mention of where supabase save the jwt generated
  • t

    TremalJack

    02/28/2022, 11:00 PM
    if someone know where the JWT are stored I can find a way to make an revoke function by myself ❤️
  • t

    TremalJack

    02/28/2022, 11:01 PM
    @User do u have any idea about this?
  • t

    TremalJack

    02/28/2022, 11:09 PM
    maybe I found a solution: Make a table with UID and date of revoke Decode the jwt from server side and check if the UID is in the table and check if the "IAT" data is lower then the revoke data if yes then force the user to login again
  • d

    DanMossa

    02/28/2022, 11:21 PM
    You need to keep a blacklist of tokens if you want to stop them from being used
    t
    • 2
    • 6
  • d

    DanMossa

    02/28/2022, 11:21 PM
    It's also why it makes sense to use short at but long rt
  • s

    silentworks

    02/28/2022, 11:37 PM
    Please create threads when having conversations on the same topic as its easier to follow
  • u

    UnderNightcore

    02/28/2022, 11:54 PM
    Regarding self-hosting, is it possible to run two independent supabase stacks using docker-compose, it doesn't matter how hard I try but they overlap each other even using different ports, etc.
  • u

    UnderNightcore

    02/28/2022, 11:54 PM
    Is actually running them in different machines the only option?
  • u

    UnderNightcore

    02/28/2022, 11:54 PM
    Like different LXC containers maybe?
  • u

    UnderNightcore

    02/28/2022, 11:54 PM
    Thank you!
  • c

    CHIΞFMCCONNΞLL.ΞTH

    03/01/2022, 1:05 AM
    Hi everyone. anyone around who might be able to provide a little nudge?
  • n

    noaxis

    03/01/2022, 1:44 AM
    Service account - look up user by email?
    • 1
    • 2
  • h

    heikopaiko

    03/01/2022, 8:24 AM
    Hello everybody, is it possible to attach/add/pass meta-data to the auth.signin method, similar to the auth.signup? Or is it a bad idea in general?
  • t

    TremalJack

    03/01/2022, 10:26 AM
    Revoke JWT
  • t

    TremalJack

    03/01/2022, 10:31 AM
    done
  • n

    NinjaNuur

    03/01/2022, 1:34 PM
    I'm generating types using open-api npx command, does anyone have a strategy for managing types when querying foreign tables. I'm currently creating custom for these
    y
    • 2
    • 4
  • p

    Paul

    03/01/2022, 2:32 PM
    how can i refresh the schema cache?
  • p

    Paul

    03/01/2022, 2:32 PM
    Im getting a page can not be found in the docs
  • p

    Paul

    03/01/2022, 2:43 PM
    I'm having trouble with this query
    Copy code
    SELECT
        sja.segment,
        sjct.constraint_type,
        sjac.constraint_value,
        relation,
        sja.segment,
        sjct.constraint_type,
        sjac.constraint_value
    FROM signal_journey_audience_constraint_relations
    JOIN signal_journey_audiences sja ON signal_journey_audience_constraint_relations.audience_id = sja.audience_id
    JOIN signal_journey_audience_constraints sjac ON signal_journey_audience_constraint_relations.constraint_id = sjac.constraint_id
    JOIN signal_journey_constraint_type sjct ON sjac.constraint_type_id = sjct.constraint_type_id
    s
    • 2
    • 2
  • p

    Paul

    03/01/2022, 2:44 PM
    I can't seem to figure out how to do with supabase
  • p

    Paul

    03/01/2022, 2:44 PM
    the query works 100% in Datagrip
  • y

    Yonben

    03/01/2022, 3:02 PM
    The docs have old content in the search etc... so a lot of page are 404s :/
  • p

    Paul

    03/01/2022, 3:02 PM
    ah ok
  • y

    Yonben

    03/01/2022, 3:02 PM
    Foreign Tables Typing
  • p

    pedrodiaz

    03/01/2022, 3:22 PM
    Hello, how could I edit the info that is being send in the access token?
  • p

    pedrodiaz

    03/01/2022, 3:22 PM
    Because I would like to add some things I need
  • c

    CHIΞFMCCONNΞLL.ΞTH

    03/01/2022, 3:52 PM
    anyone working on metamask auth/web3 auth for supabase?
  • t

    Taner Nill

    03/01/2022, 8:25 PM
    hello! can anyone suggest how should I write types for useState after I receive data?
1...234235236...316Latest