https://supertokens.com/
Join Discord
I'm having this TypeScript problem when setting up the auth UI in a Next.js app: ```users:build: inf...
g

goodgravy

over 2 years ago
I'm having this TypeScript problem when setting up the auth UI in a Next.js app:
users:build: info  - Linting and checking validity of types...
users:build: Failed to compile.
users:build: 
users:build: ./pages/auth/[[...path]].tsx:21:6
users:build: Type error: 'SuperTokensComponentNoSSR' cannot be used as a JSX component.
users:build:   Its element type 'ReactElement<any, any> | Component<unknown, any, any>' is not a valid JSX element.
users:build:     Type 'Component<unknown, any, any>' is not assignable to type 'Element | ElementClass'.
users:build:       Type 'Component<unknown, any, any>' is not assignable to type 'ElementClass'.
users:build:         The types returned by 'render()' are incompatible between these types.
users:build:           Type 'React.ReactNode' is not assignable to type 'import("/Users/james/Code/oughtinc/elicit-mono/apps/users/node_modules/@types/react/index").ReactNode'.
users:build:             Type '{}' is not assignable to type 'ReactNode'.
users:build: 
users:build:   19 | 
users:build:   20 |   return (
users:build: > 21 |     <SuperTokensComponentNoSSR />
users:build:      |      ^
users:build:   22 |   )
users:build:   23 | }
This is when using the Auth component directly from https://supertokens.com/docs/thirdpartypasswordless/nextjs/setting-up-frontend
g
r
a
  • 3
  • 34
  • 151
Since SuperTokens does not offer a C# SDK, then how can I implement a social login from scratch usin...
h

Happypig375

over 2 years ago
Since SuperTokens does not offer a C# SDK, then how can I implement a social login from scratch using C# (Xamarin)? It is not obvious in the documentation. What I am hoping for is a series of API calls and/or website URLs to show in a web browser control instead of SDK calls because SuperTokens does not provide an SDK for this language
h
r
v
  • 3
  • 23
  • 147
Hi everyone, I am trying to input first_name and last_name as part of emailpassword signup. I tried ...
j

javierwong

over 2 years ago
Hi everyone, I am trying to input first_name and last_name as part of emailpassword signup. I tried adding a first_name and last_name InputFormField and ran a simple curl to post a signup with those values but I dont think they are coming through. If I view the user management dashboard I see "FEATURE_NOT_ENABLED" for both first name and last name. I get the feeling that this is not the right way to set it? Anyone has any idea what I may have done wrongly?
j
h
r
  • 3
  • 11
  • 145
```sh Jest has detected the following 1 open handle potentially keeping Jest from exiting: ● TCP...
a

Aithusa

over 2 years ago
sh
Jest has detected the following 1 open handle potentially keeping Jest from exiting:

  ●  TCPWRAP

      13 |  */
      14 | function setup(app: Express) : any {
    > 15 |     SuperTokens.init({
when I'm testing my nodejs app its showing up with this error how can I fix this
a
r
  • 2
  • 1
  • 141
I have supertokens-frontend running on localhost:3000 and different project for backend on localhos...
p

prachi8628

over 3 years ago
I have supertokens-frontend running on localhost:3000 and different project for backend on localhost:3002 from UI when I am trying to login to google, I get "recipeImplementation.js:163 GET http://localhost:3002/auth/authorisationurl?thirdPartyId=google 404 (Not Found)" but localhost:3002 is up
p
r
  • 2
  • 32
  • 138
We have begun trying to add supertokens to our application and ran into a hiccup. We run our applic...
k

kingmesal

over 1 year ago
We have begun trying to add supertokens to our application and ran into a hiccup. We run our application stack on Cloudflare (CF) workers infrastructure. While they do have a nodejs compatability mode, they do not support all of nodejs apis. https://developers.cloudflare.com/workers/runtime-apis/nodejs/ The nodejs software you provide has dependencies for which they don't have support, like zlib (we didn't get too deep into a full list). Is there any chance of getting a library that is cloudflare compatible?
k
r
+3
  • 5
  • 44
  • 137
Hi. Am trying to run `supertokens-postgres` docker container in my local providing it a postgres con...
w

wishabhilash

about 2 years ago
Hi. Am trying to run
supertokens-postgres
docker container in my local providing it a postgres connection string of
neon db
. It is failing with the following error
What caused the crash: Driver org.postgresql.Driver claims to not accept jdbcUrl, jdbc:postgres://ep-fragrant-firefly-243626.us-west-2.aws.neon.tech/neondb?allowPublicKeyRetrieval=true
. Kindly help. 🙏
w
r
  • 2
  • 7
  • 127
Hey guys, we have implemented supertokens in our app and using COOKIE as Token transfer method. But...
d

dlighten08

about 2 years ago
Hey guys, we have implemented supertokens in our app and using COOKIE as Token transfer method. But every time we try to login it's stuck in infinite refresh calls. Can anyone help!?
d
d
+2
  • 4
  • 75
  • 125
Hi Everyone. I have a problem regarding sessions that I'm running into I would like to post the comp...
m

msalar

about 1 year ago
Hi Everyone. I have a problem regarding sessions that I'm running into I would like to post the complete thing with the code as well. So I will be posting this in parts as a thread. For starters we are a YC startup and we're using SuperTokens' managed instance as our authentication layer. The frontend is based on
Next.js
and the backend is using
Nest.js
m
r
p
  • 3
  • 78
  • 124
Hello, idk if this is the right channel but im having problems with apple sign in Im unable to sign ...
k

kevin.mv

over 2 years ago
Hello, idk if this is the right channel but im having problems with apple sign in Im unable to sign the jwt with the key apple provided, the jsonwebtoken library gives me the error
secretOrPrivateKey must be an asymmetric key when using ES256
k
r
  • 2
  • 20
  • 122
Previous345Next

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