https://supertokens.com/ logo
Docs
Join the conversationJoin Discord
Channels
community
contributing
general
github-activity
info
introductions
new-releases
random
security
support-questions
welcome-0xdelusion
welcome-aj-ya
welcome-aleksandrc
welcome-alpinjs
welcome-amberlamps1
welcome-andrew-rodriguez
welcome-ankit-choudhary
welcome-anthony-stod-custodio
welcome-call-in
welcome-chwalbox
welcome-claybiokiller
welcome-co7e
welcome-cosmoecwsa
welcome-devdag
welcome-dinso
welcome-drebotelho
welcome-elio
welcome-ernest
welcome-foxbarrington
welcome-fromscratch
welcome-galto4ir
welcome-goetzum
welcome-hay-kot
welcome-himanshu-kukreja
welcome-hossambarakat
welcome-ichikawakazuto
welcome-jahir9991
welcome-jamesl
welcome-jerry123424
welcome-john-oliver
welcome-jonas-alexanderson
welcome-jxyz
welcome-kelvinwop
welcome-kraz
welcome-lancekey
welcome-leoo
welcome-lukeacollins
welcome-m-j-mon
welcome-malik-khoja
welcome-marco
welcome-mardadi
welcome-meshguy
welcome-metamorph
welcome-mike-tectu
welcome-mirzok
welcome-mozomig
welcome-naberyou66_
welcome-nacer
welcome-namratha
welcome-naveenkumar
welcome-nightlight
welcome-nischith
welcome-notankit
welcome-olawumi
welcome-pavan-kumar-reddy-n
welcome-pineappaul
welcome-poothebear
welcome-rick
welcome-samuel-qosenergy
welcome-samuelstroschein
welcome-shubhamgoel23
welcome-shubhamkaushal
welcome-sidebar
welcome-surajsli
welcome-suyash_
welcome-syntaxerror
welcome-tauno
welcome-tauno
welcome-tawnoz
welcome-teclali
welcome-tls
welcome-turbosepp
welcome-vikram_shadow
welcome-yann
Powered by Linen
support-questions
  • u

    user

    01/11/2021, 10:43 AM
    Give me a few min. I'll report back
  • r

    rp

    01/11/2021, 10:44 AM
    so yea, with postgresql, you need to use
    BIGINT
    like
    created_at_time BIGINT,
  • r

    rp

    01/11/2021, 10:44 AM
    as seen here: https://supertokens.io/docs/emailpassword/quick-setup/database-setup/postgresql
  • u

    user

    01/11/2021, 10:44 AM
    Yep I saw that
  • u

    user

    01/11/2021, 10:44 AM
    I'm gonna try to force Prisma to make it a big int
  • u

    user

    01/11/2021, 10:45 AM
    cause here's the thing. When you run
    prisma introspect
    it inspects the database and reads it in as an Integer instead of a big int
  • u

    user

    01/11/2021, 10:47 AM
    Shoot okay. Yep I might be too early
  • r

    rp

    01/11/2021, 11:01 AM
    oops!
  • u

    user

    01/11/2021, 11:43 AM
    Thanks for you time though @rp
  • u

    user

    01/11/2021, 11:43 AM
    Greatly appreciated
  • r

    rp

    01/11/2021, 11:43 AM
    ๐Ÿ‘ likewise
  • u

    user

    01/11/2021, 11:43 AM
    Hope Prisma pushes out nativeTypes on their end soon
  • u

    user

    01/11/2021, 11:43 AM
    Then we have a pretty smooth integration with Supertokens
  • r

    rp

    01/11/2021, 11:43 AM
    yea
  • u

    user

    01/13/2021, 2:05 AM
    @User Prisma team told me they probably will get BigInt and other native type support out within 2-4 weeks
  • c

    coffeekitkat

    01/13/2021, 3:27 AM
    Hello, what is the recommended MySQL version for supertokens, MySql 5.7 or MySQL 8 ?
  • r

    rp

    01/13/2021, 5:43 AM
    @User excellent! Thanks for the info!
  • r

    rp

    01/13/2021, 5:43 AM
    @coffeekitkat supertokens should work with both the versions. Pick whichever one you are most comfortable with.
  • d

    dbMI

    01/13/2021, 10:12 PM
    password reset: Do we have control of format of email or what email address it comes from?
  • d

    dbMI

    01/14/2021, 1:21 AM
    on no session, how can we default to sign in page instead of sign up page?
  • r

    rp

    01/14/2021, 6:13 AM
    @User > password reset: Do we have control of format of email or what email address it comes from? Yes. https://supertokens.io/docs/emailpassword/common-customizations/reset-password/password-reset-email#send-a-custom-email > on no session, how can we default to sign in page instead of sign up page? https://supertokens.io/docs/emailpassword/common-customizations/signup-form/default-to-sign-in
  • u

    user

    01/14/2021, 7:25 AM
    Trying to fetch data through server-side rendering with NextJS. What's the ideal place to check
    if window object is defined
    ?
  • u

    user

    01/14/2021, 7:25 AM
    message has been deleted
  • r

    rp

    01/14/2021, 7:25 AM
    One of the places is to check before calling the init function
  • r

    rp

    01/14/2021, 7:26 AM
    If that solves this error, then assume itโ€™s working fine, until you hit this error again due to some function call
  • u

    user

    01/14/2021, 7:27 AM
    Hmm I had this check existing before
  • r

    rp

    01/14/2021, 7:28 AM
    Are you calling any of the functions from our package that caused this error?
  • r

    rp

    01/14/2021, 7:28 AM
    Like adding the axios interceptor?
  • u

    user

    01/14/2021, 7:29 AM
    Ah maybe so.
  • u

    user

    01/14/2021, 7:29 AM
    Let me check for the window before calling addAxiosInterceptors
Powered by Linen
Title
u

user

01/14/2021, 7:29 AM
Let me check for the window before calling addAxiosInterceptors
View count: 2