https://supertokens.com/
Join Discord
I have my website deployed and I am getting the following error when trying to sign in using an acco...
b

bitcoinrippin

about 2 years ago
I have my website deployed and I am getting the following error when trying to sign in using an account I created on localhost (connected to the same supertokens hosted instance) Error: No SuperTokens core available to query at Querier. (/home/rscsguex/nodevenv/api-development/14/lib/node_modules/supertokens-node/lib/build/querier.js:225:27) at Generator.next () at /home/rscsguex/nodevenv/api-development/14/lib/node_modules/supertokens-node/lib/build/querier.js:30:75 at new Promise () at __awaiter (/home/rscsguex/nodevenv/api-development/14/lib/node_modules/supertokens-node/lib/build/querier.js:12:16) at Querier.sendRequestHelper (/home/rscsguex/nodevenv/api-development/14/lib/node_modules/supertokens-node/lib/build/querier.js:218:13) at Querier. (/home/rscsguex/nodevenv/api-development/14/lib/node_modules/supertokens-node/lib/build/querier.js:245:43) at Generator.throw () at rejected (/home/rscsguex/nodevenv/api-development/14/lib/node_modules/supertokens-node/lib/build/querier.js:22:44) at processTicksAndRejections (internal/process/task_queues.js:95:5)
b
n
  • 2
  • 20
  • 18
Hey, I found a bug in the fetch interceptor in supertokens-website (lib/ts/recipeImplementation.ts) ...
u

urbansson

about 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
  • 18
Is it possible to support multiple website_domains from the same instance?
w

WonderPandaDev

about 2 years ago
Is it possible to support multiple website_domains from the same instance?
w
r
  • 2
  • 23
  • 18
Hi, I am trying to implement SSO between two rails websites with different domain names, e.g. a.com ...
m

magical_peacock_68883

over 2 years ago
Hi, I am trying to implement SSO between two rails websites with different domain names, e.g. a.com and b.com . Is SuperTokens the right tool for me? We want a phone-password login. Do I just use the
with-phone-password
react example code on each site, or do I need another site like c.com to let the user redirect to for authentication? And how do configure to let it know which domains should share the same session? Sorry I'm quite confused.
m
r
  • 2
  • 8
  • 18
supertokens_python.exceptions.GeneralError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c...
a

abcdefgh3856

over 2 years ago
supertokens_python.exceptions.GeneralError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:997) what is the solution of this error
a
r
  • 2
  • 25
  • 18
I want to know if it's possible to implement web3 auth with passwordless + social login
m

maximedotair

over 2 years ago
I want to know if it's possible to implement web3 auth with passwordless + social login
m
r
  • 2
  • 7
  • 18
Hi, is it possible to trigger sending the email verification mail through the backend sdks?
f

flixoflax

almost 3 years ago
Hi, is it possible to trigger sending the email verification mail through the backend sdks?
f
r
  • 2
  • 13
  • 18
why FetchError: request to https://....aws.supertokens.io/apiversion failed, reason: connect ETIMEDO...
b

bazinga9527_

about 1 year ago
why FetchError: request to https://....aws.supertokens.io/apiversion failed, reason: connect ETIMEDOUT 5
b
r
  • 2
  • 12
  • 17
<@498057949541826571> I am trying to add one-tap-google apart for default social login, but I need...
s

shashank0959

over 1 year ago
@rp_st I am trying to add one-tap-google apart for default social login, but I needs to modify the pop-up, can you help here,
s
r
s
  • 3
  • 44
  • 17
Hello, I've been struggling to make the setup for Next.js with Edge Functions work. When following t...
y

yves404

over 1 year ago
Hello, I've been struggling to make the setup for Next.js with Edge Functions work. When following the new Next.js setup instructions, using a session guard for an API route works until that route is an edge funtion. To reproduce I updated the example you have linked and added
export const runtime = 'edge';
to the user route https://github.com/supertokens/next.js/blob/canary/examples/with-supertokens/app/api/user/route.ts This now causes the error
Module not found: Can't resolve 'zlib'
(same for
querystring
and
crypto
). e.g. when running in dev or even during build. Which i think is strange since the middleware uses withSession without issues an is supposed to be the same edge runtime. The only "workaround" I found was to tell webpack to stop polyfilling (with config below). But that breaks things elsewhere. Have you (or someone else in here) had similar experiences or a better solution? Any recommendations going forward for Next.js Edge Functions?
const nextConfig = {
  webpack(config) {
    config.resolve.fallback = {
      ...config.resolve.fallback,
      crypto: false,
      querystring: false,
      zlib: false,
    };

    return config;
  },
}
y
r
p
  • 3
  • 9
  • 17
Previous282930Next

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