https://supertokens.com/
Join Discord
I got this error while calling send otp api { "status": "FAILED", "message": "Invalid type for ...
d

Deleted User

about 2 years ago
I got this error while calling send otp api { "status": "FAILED", "message": "Invalid type for url. Expected str or httpx.URL, got : None" }
d
r
n
  • 3
  • 3
  • 11
how to set use the user metadata feature
r

rp_st

about 2 years ago
how to set / use the user metadata feature in python?
r
  • 1
  • 1
  • 11
Hello, I deployed a nextJs app on Vercel and I use superTokens (recipe email/password). I had setup...
m

maximesohet

over 2 years ago
Hello, I deployed a nextJs app on Vercel and I use superTokens (recipe email/password). I had setup the user management dashboad and it works well on dev environment (api/auth/dashboard) where I can edit the users. But on the version deployed on Vercel the endpoint (api/auth/dashboard) return an error 500. Does anyone know this problem and any idea how to fix it? Here is the stack trace
TypeError: Cannot read properties of undefined (reading 'split')
    at new SuperTokens (/var/task/node_modules/supertokens-node/lib/build/supertokens.js:352:24)
    at SuperTokensWrapper.init (/var/task/node_modules/supertokens-node/lib/build/supertokens.js:389:36)
    at 8767 (/var/task/.next/server/pages/api/auth/[[...path]].js:96:37)
    at __webpack_require__ (/var/task/.next/server/webpack-api-runtime.js:25:42)
    at __webpack_exec__ (/var/task/.next/server/pages/api/auth/[[...path]].js:134:39)
    at /var/task/.next/server/pages/api/auth/[[...path]].js:135:65
    at __webpack_require__.X (/var/task/.next/server/webpack-api-runtime.js:108:21)
    at /var/task/.next/server/pages/api/auth/[[...path]].js:135:47
    at Object.<anonymous> (/var/task/.next/server/pages/api/auth/[[...path]].js:138:3)
    at Module._compile (node:internal/modules/cjs/loader:1218:14)
RequestId: 4992e694-1b7e-4215-a855-da1f04a6afff Error: Runtime exited with error: exit status 1
Runtime.ExitError
m
r
n
  • 3
  • 3
  • 11
Hello guys! I'm trying to test protected endpoints using postman. Sign in request works well, I get ...
a

anton@shook.ltd

over 2 years ago
Hello guys! I'm trying to test protected endpoints using postman. Sign in request works well, I get status Ok and user data, but..no cookies are updated in the Postman itself..So my next request to the API gets "message": "unauthorised". Is there any setting that I need to set to allow cookies? Or should I downgrade to a specific version of Postman? (Postman for Mac Version 10.11.2)
a
r
  • 2
  • 2
  • 11
Is there any support for next.js `middleware.ts` file.?? I want to verify the session and redirect ...
r

rayhan_rahat

over 2 years ago
Is there any support for next.js
middleware.ts
file.?? I want to verify the session and redirect users based on that. Note: I am only using Frontend Part of Next.js Guide, For Backend we have a Nest.js Backend
r
r
  • 2
  • 9
  • 11
I know. Only I don't know how get data when user's signing up through a provider. I can do this in g...
w

weboux

over 2 years ago
I know. Only I don't know how get data when user's signing up through a provider. I can do this in getProfileInfo in custom provider but I don't have unnecessary requests during login and if user will change e. g. pseudonym, then data will change unnecessarily and the user may become frustrated and delete the account, so I can lose users and have unnecessary requests. Because of I want get data about users from providers only during sign up, but I don't have how do this.
w
r
  • 2
  • 3
  • 11
On Clearing Cookies or Using incognito Mode in React Native Webview Android, SuperToken Session is e...
m

malikkhoja

over 2 years ago
On Clearing Cookies or Using incognito Mode in React Native Webview Android, SuperToken Session is expired. Can anyone help me here?
m
r
n
  • 3
  • 53
  • 11
Hi, I'm trying to integrate with the AWS HTTP API Gateway built-in JWT authentication and am receivi...
d

davido_k

over 2 years ago
Hi, I'm trying to integrate with the AWS HTTP API Gateway built-in JWT authentication and am receiving the following error: Bearer scope="" error="invalid_token" error_description="no "kid" provided in the JWT" Is there a way to add this? I tried adding it like the example mentions to add the Audience but then it's in the userData instead of, I assume, the outer payload.
d
r
  • 2
  • 9
  • 11
I having some trouble with cookies and/or CORS and hope you guys can help. I have a web domain (test...
y

yarfink

over 2 years ago
I having some trouble with cookies and/or CORS and hope you guys can help. I have a web domain (test.com) and api domain (api.test.com). I have setup CORS on NestJS has per the docs, and things seem to work correctly (I can send requests from the web client to the api). However there are 2 problems. a) there's an OPTIONS preflight before every request (do I need to set
Access-Control-Max-Age
manually?) and b) my cookies are not being saved in my browser, probably because they are sub domain but I was under the assumption that sub domain cookies are still regarded as samesite?
y
r
  • 2
  • 30
  • 11
Hi! I've implemented the SuperTokens login to a vue3 project and it works beautifully, but am greete...
a

Adis

over 2 years ago
Hi! I've implemented the SuperTokens login to a vue3 project and it works beautifully, but am greeted with lint-like errors for every class across the app, and I've isolated it down to the
supertokens-auth-react
package that appears to be causing it. Any info or advice to clean these errors would be super helpful 😊 Additionally here is the inline error
Type '{ class: string; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
  Object literal may only specify known properties, and 'class' does not exist in type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.ts(2322)
index.d.ts(3176, 13): The expected type comes from property 'div' which is declared here on type 'IntrinsicElements'
a
r
p
  • 3
  • 5
  • 11
Previous454647Next

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