https://supertokens.com/
Join Discord
`UserContext` vs `UserMetadata` which one to choose for user profile data such as timezone, address,...
s

sharma8471

over 3 years ago
UserContext
vs
UserMetadata
which one to choose for user profile data such as timezone, address, etc.?
s
n
  • 2
  • 30
  • 29
Hello, i'm having an issue with the integration to NestJs. I'm getting a blank (white) screen when i...
t

TheAnimeSenpai

over 1 year ago
Hello, i'm having an issue with the integration to NestJs. I'm getting a blank (white) screen when i try to load the dashboard... Everything seems to work fine when i call the signup api from postman though... Any ideas please?...
t
r
  • 2
  • 9
  • 28
Hey, I have a problem wih usiing the passwordless recipe. I am using the python SDK with fastapi in ...
l

Luca

over 1 year ago
Hey, I have a problem wih usiing the passwordless recipe. I am using the python SDK with fastapi in my backend, custom ui (supertokens-web-js) on the frontend and a selfhosted core. All are updated to the latest version. (0.18.7 / 0.9.1 / 7.0). Here be backend config for the passwordless recipe:
python
passwordless.init(passwordless.ContactConfig(
        contact_method='EMAIL'),
        flow_type='USER_INPUT_CODE_AND_MAGIC_LINK',
    )
And this is the rontend config:
ts
import SuperTokens from 'supertokens-web-js';
import Session from 'supertokens-web-js/recipe/session';
import Passwordless from 'supertokens-web-js/recipe/passwordless'

const initSupertokens = () => {
    SuperTokens.init({
        appInfo: {
            apiDomain: process.env.NEXT_PUBLIC_BACKEND_HOST!,
            apiBasePath: "/auth",
            appName: "CM",
        },
        recipeList: [
            Session.init(),
            Passwordless.init({}),
        ],
    });
}

export default initSupertokens
after calling
import { createCode } from "supertokens-web-js/recipe/passwordless";
...
const resp = await createCode({email})
i am getting
res.status = OK
Also my backend loggs:
"POST /auth/signinup/code HTTP/1.1" 200 OK
and returns:
json
{
    "status": "OK",
    "deviceId": "cY1ju3u88Tl7IDYc/JBf3duXTHoTbeAz5ujFr0ThODI=",
    "preAuthSessionId": "2S0TLFvqwGH9jX7KRM-IBnS4oP8nd8e-JkmsB0JnilY",
    "flowType": "USER_INPUT_CODE_AND_MAGIC_LINK"
}
But i am not getting any email. I tested several email addresses.
l
r
  • 2
  • 22
  • 28
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
  • 28
Does anyone getting a blank screen after signup in supertoken saas?
l

luancamara

almost 2 years ago
Does anyone getting a blank screen after signup in supertoken saas?
l
r
  • 2
  • 36
  • 28
Hi everyone, I'm trying to add Passwordless authentication using the Prebuilt UI to my React app (us...
d

drifter2412

almost 2 years ago
Hi everyone, I'm trying to add Passwordless authentication using the Prebuilt UI to my React app (using latest versions of
supertokens-auth-react
and
react-router-dom
) but I'm hitting an issue when the app loads:
Uncaught Error: No instance of Passwordless found. Make sure to call the Passwordless.init method
I'm initialising SuperTokens and Passwordless at the root of my application (see thread for code snippets) and I've checked and all the imports resolve to the same module in case they were pointing at different ones and using different contexts so I'm a little confused 😆 . Can anyone point me in the direction of where I might be going wrong please?
d
r
i
  • 3
  • 7
  • 28
I have a strange case where a request to the signout API returns a 401 in production. What’s the rea...
a

Ale, Pocket

about 2 years ago
I have a strange case where a request to the signout API returns a 401 in production. What’s the reason for that? How can I solve it? The issue is that users are basically never able to sign off
a
r
  • 2
  • 4
  • 28
Did anyone set up Nuxt 3 + Supertokens? Any thoughts how to stay on SSR? Saw only NextJS in guid...
w

whitekotenok

about 2 years ago
Did anyone set up Nuxt 3 + Supertokens? Any thoughts how to stay on SSR? Saw only NextJS in guides
w
r
  • 2
  • 1
  • 28
Hello guys! Anyone here has implemented something like verifySession to secure APIs using Java (spri...
f

fdelima.

over 2 years ago
Hello guys! Anyone here has implemented something like verifySession to secure APIs using Java (springboot)? Is It possible?
f
r
  • 2
  • 3
  • 28
I'm running a Supertokens managed instance in production (on my Flask Python backend, which is hoste...
a

Alec Xiang

over 2 years ago
I'm running a Supertokens managed instance in production (on my Flask Python backend, which is hosted on Google Cloudrun). Since it's inconvenient to access the dashboard URL through cloudrun, I found I can run my backend locally (with production flags set) and then access the production dashboard at http://localhost:8000/auth/dashboard Is this recommended / might this interfere with the instance running on prod? (e.g. if limited connections to the Supertokens instance is permitted at once)
a
r
  • 2
  • 1
  • 28
Previous373839Next

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