https://supertokens.com/
Join Discord
Hey! I was trying to use the "thirdpartyemailpassword" recipe but I ran into this error: `TypeError...
d

doublemint69

almost 2 years ago
Hey! I was trying to use the "thirdpartyemailpassword" recipe but I ran into this error:
TypeError: originalImplementation.generateStateToSendToOAuthProvider is undefined
For frontend I am useing Next JS 13 with app router and backend is python with fastAPI. Simply tried using the keys in the tutorial and this doesn't work. Normal email password signup signin is working properly (I have added a couple of extra fields, not sure if that would case an error)
d
r
  • 2
  • 9
  • 6
Is supertokens_flutter production ready? Do you have some example repo?
u

undesiredmonk

almost 2 years ago
Is supertokens_flutter production ready? Do you have some example repo?
u
r
  • 2
  • 19
  • 6
What is the optimal deployment strategy for implementing a passwordless recipe with Lambda, consider...
v

vaz007.

about 2 years ago
What is the optimal deployment strategy for implementing a passwordless recipe with Lambda, considering the login needs of N users? Should we choose Lambda as the best option, or would an ECS and API Gateway structure be more suitable? Alternatively, are there any other strategies that offer better deployment options on AWS ?
v
r
p
  • 3
  • 85
  • 6
I am trying to implement Supetoken for passwordless and social login in Own custom UI in React and e...
d

Dheeraj

about 2 years ago
I am trying to implement Supetoken for passwordless and social login in Own custom UI in React and express Web App. And i am stuck with the same issue from past 3 days https://supertokens.com/docs/thirdpartypasswordless/custom-ui/securing-routes seems like its a bug in documentation. My Concern : in the above pic it is mentioned that we can use this function to protect our route. But it still expose UI of my private Route for some micro Second until the UseEffect donw its work. My Expectation: There should be a Method in which we can validate User session without using middleware. The method which are available https://supertokens.com/docs/thirdpartypasswordless/common-customizations/sessions/protecting-frontend-routes Eg. import { SuperTokensWrapper } from "supertokens-auth-react"; import { SessionAuth } from "supertokens-auth-react/recipe/session" are not working with my thirdpartypasswordless method explained in Documentation in Documentation all the module are getting imported from supertokens-web-js path but as you can see above its importing from supertokens-auth-react. So it giving error in UI Note; Please help me out if someone has implemented this https://supertokens.com/docs/thirdpartypasswordless/custom-ui/securing-routes in its React and Express app. Otherwise my company will fire me 🔥 😢 😭
d
r
  • 2
  • 2
  • 6
Problems with refreshtoken cookie path in nextjs13 server side rendering I am using nextjs13 SSR and...
s

santimnv

about 2 years ago
Problems with refreshtoken cookie path in nextjs13 server side rendering I am using nextjs13 SSR and a fastapi backend. When I render something in server in nextjs I send the accestoken and everything works fine. When my accestoken is expired I call my refresh endpoint. The problem is that I don't have the refreshToken cookie because is only for /myrefreshendpoint. How can I fix it? Is any way to make this cookie available for all paths? Is that secure? Thanks for reading!
s
r
  • 2
  • 8
  • 6
Hey, I'm getting a 404 on password reset backend route ``` Cannot POST /auth/user/password/reset/to...
c

Chimanos

about 2 years ago
Hey, I'm getting a 404 on password reset backend route
Cannot POST /auth/user/password/reset/token
Anything special I could have forgotten ?
c
r
  • 2
  • 6
  • 6
hi, we installed sentry to supertokens node backend to figure out issues some users are having about...
b

bian

about 2 years ago
hi, we installed sentry to supertokens node backend to figure out issues some users are having about google login and capture some errors happening. looks like google apis are failing and it is happening quite often. can someone tell why this is happening?
b
r
  • 2
  • 34
  • 6
Hi 👋 I have some concerns using `SuperTokens` with a `NestJS` app. 😦 Currently `SuperTokens` sdk...
m

mansuralikoroglu

about 2 years ago
Hi 👋 I have some concerns using
SuperTokens
with a
NestJS
app. 😦 Currently
SuperTokens
sdk is used as a
middleware
. This is also described in the
NestJS
integration documentation of
SuperTokens
. However here is how
NestJS
request-response cycle works.
request -> middleware -> guard -> interceptor (before) -> pipe -> controller -> service -> controller -> interceptor (after) -> filter (if applicable) -> response
With
SuperTokens
middleware it will work for configured
SuperTokens
routes just like below.
request -> middleware -> response
With that, some important aspects of the application might lose. 1. No
guards
called.
Guards
can be used to restrict ip address, or restrict geolocation. There will be no restrictions for
SuperTokens
routes. 2. No
interceptors
called.
Interceptors
can be used for metrics, all kind of analysis and logs. There will be no analysis about what
Supertokens
routes called with what frequency, in what times and many more. To give an example, commonly used middlewares in
NestJS
are
cors()
and
helmet()
middlewares. They do not early terminate request so
interceptors
,
guards
and other
middlewares
also run. So, current
NestJS
integration with
middlewares
does not seem right to me. What do you think about the concerns? Are there any plans to enhance
NestJS
integration?
m
r
p
  • 3
  • 23
  • 6
Hey, is there any workaround for 2fa to have redirect url? This seems like a blocker. If you want to...
o

ovidije

about 2 years ago
Hey, is there any workaround for 2fa to have redirect url? This seems like a blocker. If you want to redirect users to different apps after login, how can you achieve that?
o
r
  • 2
  • 13
  • 6
do you have any plans for adding a SDK for dotnet/C#? Considered it's usage percentage, I think it w...
k

Kvist

about 2 years ago
do you have any plans for adding a SDK for dotnet/C#? Considered it's usage percentage, I think it would be ideal. 🙂
k
r
  • 2
  • 1
  • 6
Previous767778Next

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