https://supertokens.com/
Join Discord
Does `SuperTokens` support regular form HTTP posts? (As opposed to using json-ified data)
i

ITEnthusiasm

about 3 years ago
Does
SuperTokens
support regular form HTTP posts? (As opposed to using json-ified data)
i
r
  • 2
  • 10
  • 8
Hey I am trying to deploy our app via Digital Ocean (with supertokens - managed service) but I am ge...
m

mnove.

about 3 years ago
Hey I am trying to deploy our app via Digital Ocean (with supertokens - managed service) but I am getting a 404 error when accessing the login page / signup page. I am using the same domain for the front end (React) and the API. However, the api endpoint is at "/api". I think it might have something to do with the supertokens config in my code?
m
r
  • 2
  • 72
  • 8
Hey everyone, I am getting an error in while using supertokens in FastAPI. What am I doing wrong he...
a

ashish3822

about 3 years ago
Hey everyone, I am getting an error in while using supertokens in FastAPI. What am I doing wrong here?
Initialisation not done. Did you forget to call the SuperTokens.init function?
a
n
r
  • 3
  • 5
  • 8
In NestJS I'm setting a POST request which doesn't work if using the Authentication guard. GET reque...
f

fragordie

about 3 years ago
In NestJS I'm setting a POST request which doesn't work if using the Authentication guard. GET requests work, POST don't. It seems to be
resp.headersSent
being true in the authentication guard. How does this work?
f
r
p
  • 3
  • 36
  • 8
how do i connect supertokens container with my postgres container
k

kartikbazzad

about 3 years ago
how do i connect supertokens container with my postgres container
k
r
  • 2
  • 90
  • 8
Hello, under which case does the verifySession middleware return `message: unauthorised` also what i...
r

rajivharlalka

about 3 years ago
Hello, under which case does the verifySession middleware return
message: unauthorised
also what is the path of the function in the sdk.Tried to find but couldnt exactly locate it.
r
r
  • 2
  • 35
  • 8
Hi, I currently use supertokens-node in my backend using passwordless authentication. When my client...
l

Lucas Dias

about 1 year ago
Hi, I currently use supertokens-node in my backend using passwordless authentication. When my client enters the OTP code sent via email, Supertokens checks if the entered code matches. If it's different, it throws an error INCORRECT_USER_INPUT_CODE_ERROR, and if the code is correct, it calls the createNewSession method of ThirdPartyPasswordless. I'd like to allow login for my email with the code 000000 always. I tried to override the method that performs this validation but couldn't succeed. I'd like to know which method performs this validation, if it's possible to override it, and how it would look in my code. thanks!
l
r
d
  • 3
  • 17
  • 7
Has anyone found that when they're logged in with super tokens and the backend is verifying their ID...
p

predev_77816

about 1 year ago
Has anyone found that when they're logged in with super tokens and the backend is verifying their ID, that after they move off the frontend tab for a bit and come back, the userId is rendered as null on the backend? But then when the frontend is refreshed, the userId is correctly set again
p
r
  • 2
  • 123
  • 7
Hey there, i'm implemanting a creation of user profil on my own database while a user is signin up. ...
d

DollarNavalex

about 1 year ago
Hey there, i'm implemanting a creation of user profil on my own database while a user is signin up. The user is created after the originalImplementation of my signup, and use some additional fields. My issue is, if there is an error in my database interaction, the user is still created in supertokens, and I can't do it before the supertokens signup because i need the user id. Is there a way to revert the user creation if is there any error ?
d
r
  • 2
  • 16
  • 7
hello, I had some question regarding session sharing across subdomains. At the moment im deploying o...
a

abyssalhaze

about 1 year ago
hello, I had some question regarding session sharing across subdomains. At the moment im deploying on running on localhost. I have the main domain localhost:3000/ and a subdomain blog.localhost:3000/. The problem im coming across is that when i access the subdomain it redircts me to the login page to login and even if i do login it redirects me back to the login page. The session returns unauthorized. I looked into session sharing and the sessionTokenFrontendDomain i set to ".localhost" but in the caution section of the documentation it says I should not set it to localhost. I instead have indeed declared on my /etc/hosts file the subdomain for blog.localhost. However the problem persists. Am i missing a step? Also do i keep the sessionTokenFrontendDomain with the mention in the hosts file or i remove it?
a
r
  • 2
  • 24
  • 7
Previous585960Next

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