https://supertokens.com/
Join Discord
import { addAxiosInterceptors } from "supertokens-web-js/recipe/session". This function is depricat...
s

shahreaz0

over 1 year ago
import { addAxiosInterceptors } from "supertokens-web-js/recipe/session". This function is depricated. I use axios with create and interceptors. What can I do?
s
r
  • 2
  • 3
  • 18
Hi, has anyone tried using SuperTokens with HTMX? If so, do you have any guidance or advice?
z

zanderpyle

over 1 year ago
Hi, has anyone tried using SuperTokens with HTMX? If so, do you have any guidance or advice?
z
r
  • 2
  • 9
  • 18
Hey, i'm using Fastify with supertokens, and i'm setup swagger & swagger-ui for my API. Wanted to kn...
d

DollarNavalex

over 1 year ago
Hey, i'm using Fastify with supertokens, and i'm setup swagger & swagger-ui for my API. Wanted to know if is there a way to add the supertokens routes to my swagger documentation ?
d
r
  • 2
  • 12
  • 18
Hi Support, I would like to upgrade from Core v.4.9 to 9.0. (self-hosted postgresql) I get an erro...
m

mr.lurs

over 1 year ago
Hi Support, I would like to upgrade from Core v.4.9 to 9.0. (self-hosted postgresql) I get an error message about a foreign key constraint that does not exist. Is there a migration script I have to run, do I have to upgrade incrementally?
m
r
  • 2
  • 3
  • 18
Hi, I am using FastAPI with supertokens. And would like to store users in my own DB. I am using Emai...
d

dekode

over 1 year ago
Hi, I am using FastAPI with supertokens. And would like to store users in my own DB. I am using Email passwordless social recipe and would like to capture the event when the user signs in so that I can check if I have the corresponding user in my database and if not create one. Can anyone point me to the relevant docs please. Thanks.
d
r
  • 2
  • 5
  • 18
signinup returning 403
r

rp_st

over 1 year ago
hey @josephmilanmd our sdk does not return a 403 for this route. Maybe something else is doing that on your end?
r
j
  • 2
  • 4
  • 18
Hey, I have a question about the website domain with multipe frontends. Refering to the docs: ``` On...
l

Luca

over 1 year ago
Hey, I have a question about the website domain with multipe frontends. Refering to the docs:
On the backend, you should set the websiteDomain to be your main domain (example.com if your sub domains are sub.example.com), and then you want to override the sendEmail functions to change the domain of the link dynamically based on the tenant ID supplied to the sendEmail function. See the Email Delivery section in our docs for how to override the sendEmail function.
for what is this websiteDomain used for? I have the following domain setup: a.domainA.com -> uses api.domainA.com b.domainA.com -> uses api.domainA.com so i should set websiteDomain to domainA.com. But i have another frontend: domaniB.com -> used api.domainA.com what to do now here?
l
r
  • 2
  • 7
  • 18
Hi, I'm trying to use the `createUserIdMapping` function. it keeps throwing error, "SuperTokens core...
d

dhatguy

over 1 year ago
Hi, I'm trying to use the
createUserIdMapping
function. it keeps throwing error, "SuperTokens core threw an error for a POST request to path: '/recipe/userid/map' with status code: 400 and message: UserId is already in use in Session recipe"
d
r
  • 2
  • 2
  • 18
Hi 🙂 After reading the docs, I'm unsure what to do in my use case. I have a social login set up in ...
e

eshaham78

almost 2 years ago
Hi 🙂 After reading the docs, I'm unsure what to do in my use case. I have a social login set up in nextjs, and I would like to send the provider refresh token to my backend API (different service). I already extracted the refresh token in the backend config
override.functions.signInUp
section. I need to make an authenticated call to my backend with the current user. Since I don't have a session in the
override.functions.signInUp
function, I'm unsure how to proceed. Will appreciate your help 🙏
e
r
  • 2
  • 10
  • 18
Self-hosted, dashboard and production environment
k

kuba_huba

almost 2 years ago
I have a question about the Dashboard - is it safe and meant to be deployed in a production? I'm currently using a self-hosted instance, and what sparked this question for me is that self-hosted doesn't require sending the
api-key
header, thus allowing anyone who has access to the supertokens instance to create a new user/change password etc. My assumption is that supertokens instance should not be exposed to the world, and communicated only with via backend. Is that correct?
k
  • 1
  • 1
  • 18
Previous565758Next

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