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
random
  • c

    Cat Swolo

    03/30/2022, 6:42 AM
    Hello, I have a question but I dont know if I should post it in support questions
  • a

    Adiboi

    03/30/2022, 6:43 AM
    Please go ahead and post in support channel
  • c

    Cat Swolo

    03/30/2022, 6:43 AM
    I want to run supertokens in a docker image with docker compose. Ive tried to convert docker run into a docker-compose.yml with composerize.com but it didn't work.
  • c

    Cat Swolo

    03/30/2022, 6:44 AM
    the docker run command contains the registry but when composerized vanishes
  • c

    Cat Swolo

    03/30/2022, 6:44 AM
    message has been deleted
    r
    15 replies Β· 2 participants
  • m

    matijash

    03/30/2022, 3:52 PM
    I hope this is the right place to share dev jokes and memes - here is the original one I came up with today, let me know if it make sense πŸ˜„ https://twitter.com/WaspLang/status/1509183709173460993
  • r

    rp

    03/30/2022, 3:54 PM
    https://tenor.com/view/heath-ledger-slow-clap-joker-sarcastic-clap-gif-15651417
  • p

    pbad

    05/19/2022, 6:36 PM
    hahaha nice
  • m

    matijash

    06/03/2022, 11:54 AM
    I am back! πŸ˜„ My first (original) dev meme! How did I do? πŸ˜„
  • b

    batmansmk

    11/01/2022, 10:40 AM
    Look at the number of bytes I need to sacrifice to auth0.... ludicrous
  • e

    El Huzain

    11/01/2022, 12:22 PM
    Hey, I have a question but I don't know where to post it. Basically, I'm graduating from college, and I'm leading the graduation project Our project topic is "E-Authentication System" The one issue is that, in our college, we don't have the freedom to choose what project we will work on. And none of the team knows how Auth works. But we have absolutely no problems to learn and implement the system So I kept googling back and fourth to find helpful info, and sure I had found a ton of. I saw your project SuperTokens, and I am very impressed. So I was wondering if I could ask you guys for some help, if it wouldn't bother, of course. Let me know if I can post my questions, and where to post them ^^
  • r

    rp

    11/01/2022, 12:53 PM
    hey @El Huzain you can ask questions in the support-questions channel
  • e

    execreate

    11/04/2022, 1:39 PM
    In case someone need it, I've created a FastAPI template to use with Supertokens πŸ™‚ https://github.com/execreate/fastapi-supertokens-template
  • r

    rp

    11/04/2022, 1:59 PM
    Thanks @execreate !
  • b

    BeeMoe

    11/04/2022, 7:20 PM
    This will also fit well in the fastapi server too!
  • e

    execreate

    11/17/2022, 5:08 AM
    I added async testing setup in the template btw πŸ˜„ It's sooo satisfying when you finally find a proper way to test your async Python app and all your tests are passing 😁 PS. async python is still way too painful compared to golang
  • m

    m2a2

    12/26/2022, 1:08 PM
    Hi, has anyone here tried implementing SuperTokens with SolidJS? I am about to give it a whirl and was wondering if there were any gotcha's?
  • x

    XxX_MLG Noob_XxX

    12/28/2022, 2:09 PM
    From what I can tell, I don't think it's really possible at the moment. πŸ˜… For it to be doable, the SuperTokens Node.js API would need to be able to work without needing request/response objects. But that requires a refactor. If their Node.js Adapter is functional, you can try using that. I'd assume it would work similarly to the
    remix-supertokens
    example repository.
  • x

    XxX_MLG Noob_XxX

    12/28/2022, 2:20 PM
    Svelte Kit (and perhaps some other SSR frameworks) are in a similar boat
  • r

    rp

    12/28/2022, 2:27 PM
    You could create your own req / res object and pass it in
  • m

    m2a2

    12/28/2022, 2:28 PM
    yeah, I think you're right.. the more experimenting and reading I did with solidjs, the more I learnt that I would have to do a few things differently .. although I did like the simplicity of Solidjs (if that makes sense 😁 ) ..
  • x

    XxX_MLG Noob_XxX

    12/28/2022, 2:29 PM
    Yeah I totally get that. That's how I felt when I ran into issues with Svelte Kit, too. πŸ˜…
  • x

    XxX_MLG Noob_XxX

    12/28/2022, 2:31 PM
    Yes! It's a little bit harder with Solid.js though because you can't extend something like the Express classes. I think these new SSR frameworks try to create concepts for the
    Request
    and
    Response
    objects that exist in browsers. But these are currently made up concepts that have not been fully adopted by Node.js yet (but hopefully will be adopted in the future). Since these objects are not native to Node.js yet, I'm not sure how easy it is to make them act in a way that SuperTokens expects. These objects appear to be a lot more strict.
  • x

    XxX_MLG Noob_XxX

    12/28/2022, 2:37 PM
    I think I misread though. Are you just using Solid.js or are you using Solid Start? What's your tech stack? If you're not using Solid Start it should be pretty straightforward, I think.
  • r

    rp

    12/28/2022, 2:38 PM
    Hmm. The req res passed to the middleware have to be a certain shape, but those can read from any source. For example, the req object we expect has a getJSONBody function, but that function could read from form post request and convert it to a JS object and return that.
  • x

    XxX_MLG Noob_XxX

    12/28/2022, 2:39 PM
    Mkay so just passing something with methods that get the job done?
  • x

    XxX_MLG Noob_XxX

    12/28/2022, 2:40 PM
    For that matter, does SuperTokens ever need to access any properties on the Request object? Or is it just calling methods the entire time? πŸ€”
  • r

    rp

    12/28/2022, 2:42 PM
    It’s just calling these methods all the time. Same goes for response
  • x

    XxX_MLG Noob_XxX

    12/28/2022, 6:33 PM
    Well that does make life easier.
  • x

    XxX_MLG Noob_XxX

    12/28/2022, 6:34 PM
    Is
    wrapperUsed
    also a method? Or is that an internal property? (I’m in a line right now so I can’t check. πŸ˜…)
Powered by Linen
Title
x

XxX_MLG Noob_XxX

12/28/2022, 6:34 PM
Is
wrapperUsed
also a method? Or is that an internal property? (I’m in a line right now so I can’t check. πŸ˜…)
View count: 2