https://supertokens.com/
Join Discord
I guessing that I can authenticate/authorise an API only application, with API authentication keys w...
h

helder.rossa

over 2 years ago
I guessing that I can authenticate/authorise an API only application, with API authentication keys with SuperTokens but I'm not sure how. how can I create a API key to use for API requests to my app? I can create users using /recipe/signup but not sure how to create an access token that does not expire
h
r
+2
  • 4
  • 115
  • 47
Heyy, We have a nest.js application deployed on Railway. In the frontend we have next.js deployed ...
r

rayhan_rahat

almost 3 years ago
Heyy, We have a nest.js application deployed on Railway. In the frontend we have next.js deployed on Vercel. In the backend CORS is set like this
app.enableCors({
    origin: [
      '*',
      'http://localhost:3001',
      'http://localhost:3000',
      'https://*.vercel.app',
      'https://*.vercel.app/*',
    ],
    allowedHeaders: ['content-type', ...supertokens.getAllCORSHeaders()],
    credentials: true,
  });
But for all the vercel preview builds, we can't test the app because of CORS issues. Any Idea how to fix it.??
r
r
  • 2
  • 16
  • 47
hello guys, can i change the language in button or header ?
m

mas_dwi

over 3 years ago
hello guys, can i change the language in button or header ?
m
r
  • 2
  • 8
  • 47
hello, what do i type here to use my own smtp configuration ? i have an email address with password ...
k

kevin.millot

over 3 years ago
hello, what do i type here to use my own smtp configuration ? i have an email address with password already if i need to send from that email address
js
EmailPasswordNode.init({
        emailDelivery: {
          service: new STMPService({
            smtpSettings: {
              host: "smtp.office365.com",
              password: process.env.EMAIL_PW,
              port: 587,
              from: {
                name: "",
                email: process.env.EMAIL_ADDRESS,
              },
              secure: true
            },
          })
        },
      }),
k
r
  • 2
  • 11
  • 47
Is anyone here who implements supertokens with express backend with custom nextjs UI?
s

shahreaz0

almost 2 years ago
Is anyone here who implements supertokens with express backend with custom nextjs UI?
s
r
  • 2
  • 49
  • 46
Hey guys, I saw you did an update on the app dir support for NextJS 13. Whats the best way to stay u...
r

robschilder

about 2 years ago
Hey guys, I saw you did an update on the app dir support for NextJS 13. Whats the best way to stay updated for this? I will be gladly testing it out soon!
r
r
r
  • 3
  • 5
  • 46
How soon is "soon" ? and it seems like there's still a partial support for mongodb, to what extent c...
n

nano_ck

over 2 years ago
How soon is "soon" ? and it seems like there's still a partial support for mongodb, to what extent can I use it? Can I fully rely on it?
n
r
  • 2
  • 1
  • 46
Hi, Is there an efficient way to migrate data between one supertons instance to another (assuming th...
i

idanto

over 2 years ago
Hi, Is there an efficient way to migrate data between one supertons instance to another (assuming they are in different versions)?
i
r
  • 2
  • 48
  • 46
my frontend keeps attempting to refresh even though i just logged in
c

chunkygoo.

about 3 years ago
my frontend keeps attempting to refresh even though i just logged in
c
r
  • 2
  • 122
  • 46
Hey guys, I want to use krakend.io API Gateway to enforce request level authorization. Krakend suppo...
e

execreate

about 3 years ago
Hey guys, I want to use krakend.io API Gateway to enforce request level authorization. Krakend supports fetching the token from cookies with
cookie_key
parameter (https://www.krakend.io/docs/authorization/jwt-validation/), so I guess it must possible to make it work with Supertokens http-only cookies. Theoretically, I can pass
jwk_url
of Supertokens (https://supertokens.com/docs/passwordless/common-customizations/sessions/with-jwt/get-jwks-and-issuer) to Krakend and set
cookie_key
to
sAccessToken
to make it work. But the jwks endpoint in Supertokens is not available unless I turn on jwt in session recipe, is that right? Because I cannot fetch the jwks endpoint with my current setup where I did not enable jwt in Supertokens.
e
r
  • 2
  • 5
  • 46
Previous212223Next

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