• r

    rp

    6 months ago
    Hey @User. Yes. You can use our frontend SDK (supertokens-website) which has session management feature and then build your own UI. Your UI will call the APIs exposed by our backend node SDK.
  • Pik

    Pik

    6 months ago
    Awesome - thank you so much 😃
  • r

    rp

    6 months ago
    @User in the docs, when you select a login method, you should see the "Plain Javascript" code snippet tab for the frontend secitons
  • TaRaNTuLaH

    TaRaNTuLaH

    6 months ago
    Hello, I have a question regarding SuperTokens Core - how to debug issues related to it? App is working fine for me (dockerized), but for my friend which is running it on local machine it's throwing an error "No SuperTokens core available to query" - this occurs while trying to register (I removed post from support-questions)
    TaRaNTuLaH
    r
    5 replies
    Copy to Clipboard
  • Marques

    Marques

    6 months ago
    Hi, I have supertokens setup on my api to allow users to create an account, but the data is stored using my own DB... was wondering if it's possible to do the same with ThirdParty?
    Marques
    r
    +1
    27 replies
    Copy to Clipboard
  • z

    zach_h

    6 months ago
    Ok, sorry if this is a naive question! I want to restrict the list of users that can register for my app, invite-only style. Is there a best practice way to implement this? Could I do this as a post-authentication hook or does this need to be in an override?
    z
    r
    +1
    21 replies
    Copy to Clipboard
  • r

    rp

    6 months ago
    Disable sign up
  • Killian

    Killian

    6 months ago
    Hello, I was wondering if there is a guild on how to add just login to a site for an admin panel, so I want to use my own UI. I have the post request set up, but when I log in it doesn't seem to save it
  • Killian

    Killian

    6 months ago
    javascript
     <Formik
              initialValues={initialValues}
              onSubmit={(values) => {
                axios
                  .post(
                    "/auth/signin",
                    {
                      formFields: [
                        {
                          id: "email",
                          value: values.email.toLowerCase().trim(),
                        },
                        {
                          id: "password",
                          value: values.password.trim(),
                        },
                      ],
                    },
                    {
                      headers: {
                        rid: "thirdpartyemailpassword",
                      },
                    }
                  )
                  .then((response) => {
                    console.log(response);
                  });
              }}>
  • Killian

    Killian

    6 months ago
    So I am logging here with an email and password, and it successful, but how can I stay logged in