https://supertokens.com/
Join Discord
hi, How to get user email in react frontend
r

rajubai11

almost 2 years ago
hi, How to get user email in react frontend
r
r
  • 2
  • 6
  • 13
Trying to view the dashboard on localhost, but getting a 404 error on login. I've already created a ...
p

petrgazarov

about 2 years ago
Trying to view the dashboard on localhost, but getting a 404 error on login. I've already created a user following instructions here: https://supertokens.com/docs/thirdparty/pre-built-ui/setup/dashboard.
p
r
n
  • 3
  • 18
  • 13
Hy everyone. I have trouble using tokenTransferMethod: 'header'. I want to ship my react app in a we...
r

romixch

about 2 years ago
Hy everyone. I have trouble using tokenTransferMethod: 'header'. I want to ship my react app in a webview on iOS with CapacitorJs. I can't make the webview work with cookies on iOS so I thought I could switch to header based auth. So I just added tokenTransferMethod to my client configuration. The client seams to pick it up since I see the header "st-auth-mode: header" to be sent. But I don't see any header "Authorization" being sent to the server. I also added logging which tells me in the browser following interesting lines:
com.supertokens {t: "2023-04-14T09:32:58.495Z", message: "setAuthorizationHeaderIfRequired: token for header based auth not found", supertokens-website-ver: "16.0.1"}
I'm actually a bit confused. I would expect that the tokens are stored somewhere like the local storage and then attached from there. But they seam to be read from the cookies which should not be used as I stated to use headers. Is it my responsibility to persist the tokens somewhere? Am I missing something?
r
n
  • 2
  • 5
  • 13
with socket io
r

rp_st

about 2 years ago
How can I use supertokens with socket io?
r
  • 1
  • 2
  • 13
```# npm audit report qs 6.7.0 - 6.7.2 Severity: high qs vulnerable to Prototype Pollution - https...
c

chunkygoo.

over 2 years ago
# npm audit report

qs  6.7.0 - 6.7.2
Severity: high
qs vulnerable to Prototype Pollution - https://github.com/advisories/GHSA-hrpp-h998-j3pp
fix available via `npm audit fix --force`
Will install supertokens-node@2.5.0, which is a breaking change
node_modules/qs
  body-parser  1.19.0
  Depends on vulnerable versions of qs
  node_modules/body-parser
    supertokens-node  >=3.0.0
    Depends on vulnerable versions of body-parser
    node_modules/supertokens-node

3 high severity vulnerabilities
c
r
  • 2
  • 7
  • 13
Hi. I have implemented custom UI but standard flow password reset solution. Everything seems to be w...
a

agneado3085

over 2 years ago
Hi. I have implemented custom UI but standard flow password reset solution. Everything seems to be working except for the last part, where I call function submitNewPassword({ formFields: [ { id: 'password', value: newPassword } ] }). it gives me this error "Error: No instance of EmailPassword found. Make sure to call the EmailPassword.init method." Can enyone help me with this issue?
a
n
  • 2
  • 48
  • 13
Hi, We're authenticating our react app with supertokens react components successfully from SUBDOMAI...
t

teebot

almost 3 years ago
Hi, We're authenticating our react app with supertokens react components successfully from SUBDOMAIN.DOMAIN.COM where our frontend lives and where the cookie is also set. Our main API and supertokens fastify middleware live on DOMAIN.COM/API and correctly set cookie and validate the requests The problem we have is that we have another authentication flow where customers will get a new supertokens cookie from DOMAIN.COM, they are supposed to be authenticated but the react auth component does not recognize it. Would you have a cue on how we could solve that?
t
r
  • 2
  • 29
  • 13
hey, I am not able to signup using apple, I am using ST apple account, it says connection refused, i...
a

alisha08770

almost 3 years ago
hey, I am not able to signup using apple, I am using ST apple account, it says connection refused, it was working till yesterday
a
r
s
  • 3
  • 22
  • 13
I'm using NextJS. In the supertokens example it uses `EmailPasswordReact` and `SessionReact`. Howeve...
f

funk101

about 3 years ago
I'm using NextJS. In the supertokens example it uses
EmailPasswordReact
and
SessionReact
. However, when trying to customize the SignIn UI, I'm getting an error:
Error: No instance of EmailPassword found. Make sure to call the EmailPassword.init method
. Do I need to modify the code to use
EmailPassword
and not
EmailPasswordReact
?
f
r
  • 2
  • 48
  • 13
Hi guys. I am reading the CDI doc in swagger and I am trying to implement the sign up from my nodejs...
k

kalibcheil0320

about 3 years ago
Hi guys. I am reading the CDI doc in swagger and I am trying to implement the sign up from my nodejs server, but I don't know how to use end point. I see that is a POST method and the end point is /recipe/signup but what is the route base or how do I have to implement the endpoint?
k
r
  • 2
  • 2
  • 13
Previous343536Next

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