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
  • r

    rp

    08/06/2021, 10:08 PM
    Sure. I’ll make an example tomorrow 🙂 (it’s 3:30 am here)
  • k

    Killian

    08/06/2021, 10:10 PM
    Yeah, thank you 🙂
  • r

    rp

    08/07/2021, 5:21 PM
    @User , I have created an example app that has account linking: https://github.com/supertokens/supertokens-auth-react/tree/account-linking-example/examples/with-account-linking using our override feature. It's work in progress (docs and explanation for it are left), but it is working! Should be completely done by monday evening.
  • k

    Killian

    08/07/2021, 5:24 PM
    Thank you 🙂
  • r

    rp

    08/07/2021, 5:24 PM
    You will want to see this: https://github.com/supertokens/supertokens-auth-react/blob/account-linking-example/examples/with-account-linking/api/override.js
  • r

    rp

    08/07/2021, 5:24 PM
    That file has all the customised logic.
  • k

    Killian

    08/07/2021, 5:25 PM
    Ah ok
  • r

    rp

    08/07/2021, 5:25 PM
    Will write docs explaining how it works in the next 2 days.
  • k

    Killian

    08/07/2021, 5:25 PM
    Yeah sounds great, thank you
  • s

    snipebin

    08/07/2021, 5:41 PM
    Hi everyone, is anyone using Supertokens to auth mobile users, even if through a web based login page? Is there any docs for that? We have Flutter apps
  • r

    rp

    08/07/2021, 5:42 PM
    Hey @snipebin we don’t have support for mobile yet. Our mobile SDKs for session management are outdated and need updating. Until then, I’m afraid that you won’t be able to use us for mobile.
  • s

    snipebin

    08/07/2021, 8:18 PM
    @rp thanks, is there an ETA for mobile app support?
  • r

    rp

    08/08/2021, 4:56 AM
    @snipebin flutter can be updated in 2-3 weeks time
  • r

    rp

    08/08/2021, 8:15 AM
    @User i have added comments / explanation to the demo app: https://github.com/supertokens/supertokens-auth-react/tree/master/examples/with-account-linking
  • k

    Killian

    08/08/2021, 1:11 PM
    Thank you this is perfect
  • u

    user

    08/08/2021, 4:45 PM
    Hi, I'm looking at the Blitz.js example [1] and I'm wondering how can I get the user id on the server from the session? Specifically, the `getCurrentUser`[2] query in the example doesn't seem to be connected with Supertokens. How can I adapt it to return the authenticated user? [1] https://github.com/supertokens/supertokens-auth-react/tree/master/examples/with-blitz [2] https://github.com/supertokens/supertokens-auth-react/blob/master/examples/with-blitz/app/users/queries/getCurrentUser.ts
  • r

    rp

    08/08/2021, 4:47 PM
    @User you can see how getting info from session works in NextJS’ API here: https://github.com/supertokens/next.js/blob/canary/examples/with-supertokens/pages/api/user.js
  • r

    rp

    08/08/2021, 4:47 PM
    And perhaps use that to work with blitz? I’m not entirely sure how to wire it all up with blitz just yet.
  • s

    snipebin

    08/09/2021, 3:41 PM
    That's awesome - is that currently scheduled in the roadmap? And if not, can I hit you up to get it prioritized when we need it?
  • r

    rp

    08/09/2021, 6:30 PM
    Not currently scheduled, but yes you can reach out and we can try to accommodate
  • z

    Zoomeez

    08/10/2021, 12:05 PM
    Hi, is there a configuration option for setting password reset token validity time? I can only see options for access and refresh tokens.
  • r

    rp

    08/10/2021, 12:25 PM
    @Zoomeez there isn’t such a config option at the moment. Is there a problem with the default one?
  • z

    Zoomeez

    08/10/2021, 12:46 PM
    @User we would like to send out an invitation link where the account is already created and the user only needs to enter a new password. We tried this by sending a password reset link, but we would like for this link to be active longer
  • r

    rp

    08/10/2021, 12:47 PM
    Ahh I see. Makes sense
  • r

    rp

    08/10/2021, 12:47 PM
    You could create an issue about it on our GitHub and we will add this
  • r

    rp

    08/10/2021, 12:48 PM
    What’s the time limit you would like to make?
  • z

    Zoomeez

    08/10/2021, 12:49 PM
    something like a couple days or a week
  • r

    rp

    08/10/2021, 12:50 PM
    I see. Ok
  • k

    Killian

    08/11/2021, 5:11 AM
    So I got my user located in MongoDb, when my user is logged in how can I call a function to get my user in MongoDb?
  • k

    Killian

    08/11/2021, 5:11 AM
    So how can I detect when my user becomes logged in?
Powered by Linen
Title
k

Killian

08/11/2021, 5:11 AM
So how can I detect when my user becomes logged in?
View count: 6