https://supertokens.com/ logo
Title
u

24kMagic

11/25/2022, 11:05 AM
Hello guys, I am using Supertokens with MongoDB Backend, I have configured everything according to the Docs, And now when I try to SignIn, I am shown "Something went Wrong" Error. So I have checked the Logs from the docker container, and I see the attached errors. I am able to verify that both key_value pair, and jwt_signing_keys collections are created. Also attaching the supertokens-core docker compose config for your reference: supertokenscore: container_name: supertokenscore image: registry.supertokens.io/supertokens/supertokens-mongodb restart: always networks: - localnw environment: SUPERTOKENS_PORT: 3568 MONGODB_CONNECTION_URI: mongodb://user:password@0.0.0.0:27017 MONGODB_DATABASE_NAME: testdb PASSWORDLESS_MAX_CODE_INPUT_ATTEMPTS: 2 PASSWORDLESS_CODE_LIFETIME: 300000 REFRESH_TOKEN_VALIDITY: 15 ACCESS_TOKEN_VALIDITY: 300 ports: - "3568:3568"
r

rp

11/25/2022, 11:06 AM
hey @24kMagic we don't support login recipes with mongodb yet. Just the session recipe
hey!
we don't support login recipes with mongdb yet.
just the session recipe
so it won't work
switch to a mysql / postgresql db
or you can use our managed service as well
u

24kMagic

11/25/2022, 11:07 AM
Oh, thanks for claryfing that. Sure, will go with your managed service for now. Also when can we expect the support for MongoDB for login recipies?
r

rp

11/25/2022, 11:08 AM
probably sometime towards the end of next year at the earliest. It's not a priority for us.
u

24kMagic

11/25/2022, 11:08 AM
End of 2023 you mean?
r

rp

11/25/2022, 11:08 AM
yea
u

24kMagic

11/25/2022, 11:09 AM
aww man! I was migrating all my data from postgres to mongo 😦 Thanks anyways!
r

rp

11/25/2022, 11:10 AM
yeaaa.. unfortunate 😦 i know