https://supertokens.com/
Join Discord
Is there a management background for ordinary users, such as users can change passwords, modify emai...
c

candice07251

over 2 years ago
Is there a management background for ordinary users, such as users can change passwords, modify email?
c
r
  • 2
  • 7
  • 22
is there any to log out the user if user is idle for 10 mins without?
s

shri4953

over 2 years ago
is there any to log out the user if user is idle for 10 mins without?
s
r
  • 2
  • 1
  • 22
Auth Redirection - is there a version of this that I can use for supertokens-web-js? Also have the s...
k

Kranos

over 2 years ago
Auth Redirection - is there a version of this that I can use for supertokens-web-js? Also have the same question for setting
useShadowDom: false
import SuperTokens from "supertokens-auth-react";
import ThirdPartyEmailPassword from "supertokens-auth-react/recipe/thirdpartyemailpassword";

SuperTokens.init({
    appInfo: {
        apiDomain: "...",
        appName: "...",
        websiteDomain: "...",
    },
    recipeList: [
        ThirdPartyEmailPassword.init({
            getRedirectionURL: async (context) => {
                if (context.action === "SUCCESS") {
                    if (context.redirectToPath !== undefined) {
                        // we are navigating back to where the user was before they authenticated
                        return context.redirectToPath;
                    }
                    return "/dashboard";
                }
                return undefined;
            }
        }),
    ]
});
k
r
  • 2
  • 1
  • 22
Any way of seeing supertokens logs? I used the dashboard to change a user's password, however when ...
v

Vlad

over 2 years ago
Any way of seeing supertokens logs? I used the dashboard to change a user's password, however when I try to login I am still getting a wrong credentials error
v
r
  • 2
  • 16
  • 22
Error on deployment I've been self-hosting supertokens core using supertokens-postgresql v4.3 docke...
m

mayankgopronto

over 2 years ago
Error on deployment I've been self-hosting supertokens core using supertokens-postgresql v4.3 docker image on kubernetes, with relative ease for a while now. Today when I am trying to deploy it on a new cluster I am faced with this error. Any idea what could be wrong? I am not passing any port number, just passing in the API_KEYS and POSTGRESQL_CONNECTION_URI through environment variables.
What caused the crash: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `int` from String "tcp://10.2.124.128:3567": not a valid `int` value
 at [Source: (File); line: 194, column: 7] (through reference chain: io.supertokens.config.CoreConfig["port"])
m
r
  • 2
  • 14
  • 22
How to login using flutter sdk?
a

Aithusa

almost 3 years ago
How to login using flutter sdk?
a
n
m
  • 3
  • 16
  • 22
<@498057949541826571> SuperTokens working with Ionic 6?
v

vishal_convasys

almost 3 years ago
@rp_st SuperTokens working with Ionic 6?
v
r
n
  • 3
  • 78
  • 22
I'm having some trouble routing the user from the signup form to the `passwordless` phone number inp...
b

Bailey

almost 3 years ago
I'm having some trouble routing the user from the signup form to the
passwordless
phone number input after sign up. I'm overriding emailpassword's
signUpPOST
function by calling: -
signUp
(/recipe/emailpassword) -
createNewSession
(/recipe/session)
signUpPOST: async function (input) {
    let signup = await signUp(
        email,
        password,
        input.userContext
    );

    if (signup.status === 'OK') {
        // Create database user
        ...

        // Create session
        return createNewSession(
            input.options.res,
            signup.user.id,
            undefined,
            undefined,
            input.userContext
        );
    }
}
I'm unsure if the
input
variables I'm passing here are correct, or if there is another recipe function I should be calling. The session and user seem to be created properly, but the frontend requires a manual refresh in order to reach the
passwordless
Second factor auth (phone number input page). Without a manual refresh, the frontend says to sign in instead since the email is already in use.
b
r
  • 2
  • 14
  • 22
How exactly does the doesSessionExist work?
a

abhisheksinghkapoor

almost 3 years ago
How exactly does the doesSessionExist work?
a
r
  • 2
  • 49
  • 22
Is there a way to route directly to the sign up or sign in form? Right now, i have a "Sign Up" and "...
b

bitcoinrippin

about 3 years ago
Is there a way to route directly to the sign up or sign in form? Right now, i have a "Sign Up" and "Sign in" button and they both load the "Sign Up" form
b
r
  • 2
  • 5
  • 22
Previous495051Next

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