https://supertokens.com/
Join Discord
Is there any documentation on best practices when self-hosting SuperTokens Core? I was thinking if i...
a

advait

over 1 year ago
Is there any documentation on best practices when self-hosting SuperTokens Core? I was thinking if it is feasible to run the core on a Cloud Run service instance. Thoughts?
a
r
  • 2
  • 2
  • 21
Hello <@498057949541826571> I am using python flask backend and on clicking on reset password the a...
t

Tushar

almost 2 years ago
Hello @rp_st I am using python flask backend and on clicking on reset password the api gives 200 respond but I am not able to receive email . AFAIK from the documents even if I don't add any smtp configurations I should still get an email from supertokens domain or I am missing sth here ?
t
r
  • 2
  • 15
  • 21
Hey guys, I saw you did an update on the app dir support for NextJS 13. Whats the best way to stay u...
r

robschilder

almost 2 years ago
Hey guys, I saw you did an update on the app dir support for NextJS 13. Whats the best way to stay updated for this? I will be gladly testing it out soon!
r
r
r
  • 3
  • 5
  • 21
Hi, Is there an efficient way to migrate data between one supertons instance to another (assuming th...
i

idanto

about 2 years ago
Hi, Is there an efficient way to migrate data between one supertons instance to another (assuming they are in different versions)?
i
r
  • 2
  • 48
  • 21
Sorry another question regarding the Passwordless recipe: I'm trying to use signInUp in the createC...
m

masterofpoupette

about 2 years ago
Sorry another question regarding the Passwordless recipe: I'm trying to use signInUp in the createCode function override in order to create my user earlier, but it kind of hang/freeze the function. Any idea? Thanks.
m
r
  • 2
  • 22
  • 21
Does supertokens currently support Solid.js/solid-start? If not, is this expected?
j

jimpex

over 2 years ago
Does supertokens currently support Solid.js/solid-start? If not, is this expected?
j
r
  • 2
  • 2
  • 21
Hey, I found a bug in the fetch interceptor in supertokens-website (lib/ts/recipeImplementation.ts) ...
u

urbansson

over 2 years ago
Hey, I found a bug in the fetch interceptor in supertokens-website (lib/ts/recipeImplementation.ts) 172:91 When we make our fetch calls we pass a URL object into it as the typescript definitions suggests. Doing that we get the following error:
js
TypeError: url.clone is not a function
and that makes sense as you do the following
js
typeof url === "string" ? url : (url as Request).clone()
the
URL
object does not have the clone methed defined. We currently solve it be calling toString before passing it to fetch, but breaking the fetch api might make other thirdparty dependencies break. You can try it yourself by doing something like this:
js
fetch(new URL(("https://localhost:3000/index.html"))).then(() => {console.log("fetched")}).catch(err => console.log("err", err))
u
r
p
  • 3
  • 4
  • 21
I'm getting an error saying ""Are you sending too many / too few formFields?" I'm following the exam...
m

miguelstevensbe

over 2 years ago
I'm getting an error saying ""Are you sending too many / too few formFields?" I'm following the example from the docs, this is my frontend and backend code, am I missing something? ( I checked, the values are populated with data when sending the request to ST) frontend code
const response = await EmailPassword.signUp({
        formFields: [
            {
                id: "invite",
                value: invite.value.id
            },
            {
                id: "password",
                value: password,
            },
            {
                id: 'first_name',
                value: firstname
            },
            {
                id: 'last_name',
                value: lastname
            },
        ]
    });
And the backend
EmailPassword.init({
                signUpFeature: {
                    formFields: [
                        {id: "invite"},
                        {id: "password"},
                        {id: "first_name"},
                        {id: "last_name"},
                    ]
                },
                override: {
                    apis: (originalImplementation) => {
                        return {
                            ...originalImplementation,
                            signUpPOST: async function (input) {
                                if (originalImplementation.signUpPOST === undefined) {
                                    throw Error("Should never come here");
                                }

                                let response = await originalImplementation.signUpPOST(input);
                                console.log(input)


                                return response
                            }
                        }
                    }
                }
            }),
m
r
  • 2
  • 5
  • 21
I want to log the user out when their subscription is ended. Is there any way I can set custom expir...
u

undesiredmonk

over 2 years ago
I want to log the user out when their subscription is ended. Is there any way I can set custom expiry to cookies and sessions for each user based on their subscription? The default time will be 7 days but users with less than 7 days remaining on their subscription will have the session & cookies expiry date the same as their subscription end date.
u
r
  • 2
  • 11
  • 21
Hi everyone, nice to meet you all. I am trying to get the User Management Dashboard working via Do...
j

javierwong

over 2 years ago
Hi everyone, nice to meet you all. I am trying to get the User Management Dashboard working via Docker. I can get the UI running and I get a screen that requires me to key in the API Key but when viewing the User Management screen it says Server Error: Failed to load user list. I check the browsers console and it tells me that there is an error on loading some content "http://:15000/auth/dashboard/api/users/count". And when I browse the link it shows Unauthorised access. Does anyone have any idea why this is the case?
j
r
n
  • 3
  • 6
  • 21
Previous333435Next

SuperTokens.com

SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).

Powered by