https://supertokens.com/
Join Discord
And you guys are using Java, which is pretty pog. But why didn't you use the spring framework to mak...
a

Ahnaf

about 3 years ago
And you guys are using Java, which is pretty pog. But why didn't you use the spring framework to make your lives easier?
a
r
  • 2
  • 7
  • 6
hi, Im trying to verify a session by sending a post request to /recipe/session/verify with headers: ...
h

hoffeman

about 3 years ago
hi, Im trying to verify a session by sending a post request to /recipe/session/verify with headers: { "api-key": "key", "cid-version": "2.13", "rid": "session", "content-type": "application/json; charset=utf-8" } and body { "accessToken": "token" } but i keep getting invalid api key. I have checked and restart several times with other keys and made sure they match. Any idea of what i am missing in this call?
h
r
  • 2
  • 72
  • 6
Hi again. Quick question, the JWT token we get on clientside by `let jwt = (await SuperTokens.getAcc...
s

solminded

about 3 years ago
Hi again. Quick question, the JWT token we get on clientside by
let jwt = (await SuperTokens.getAccessTokenPayloadSecurely()).jwt
and the token we get from backend method
session.getAccessTokenPayload().jwt
should return the same token right?
s
n
  • 2
  • 2
  • 6
Is there any way I can implement 2FA with supertokens? (i know its due to be implemented soon but it...
λ

Λ C Ξ L X R D

about 3 years ago
Is there any way I can implement 2FA with supertokens? (i know its due to be implemented soon but its a requirement in my project any advice or help is appreciated)
λ
r
  • 2
  • 7
  • 6
`import React from "react"; import dynamic from "next/dynamic"; import SuperTokensReact from "supert...
f

funk101

about 3 years ago
import React from "react";
import dynamic from "next/dynamic";
import SuperTokensReact from "supertokens-auth-react";
import EmailPassword from "supertokens-auth-react/recipe/emailpassword";

import { frontendConfig } from "../config/frontendConfig";

if (typeof window !== "undefined") {
  // we only want to call this init function on the frontend, so we check typeof window !== 'undefined'
  SuperTokensReact.init(frontendConfig());
}

const EmailPasswordAuthNoSSR = dynamic(
  new Promise((res) => res(EmailPassword.EmailPasswordAuth)),
  { ssr: false }
);
function MyApp({ Component, pageProps }) {
  return (
    <EmailPasswordAuthNoSSR>
      <Component {...pageProps} />;
    </EmailPasswordAuthNoSSR>
  );
}

export default MyApp;
f
r
  • 2
  • 20
  • 6
Hi again, I am trying to get password reset email open a deep link in my react native app. So I am p...
s

solminded

about 3 years ago
Hi again, I am trying to get password reset email open a deep link in my react native app. So I am posting user password request via
/api/auth/user/password/reset/token
and at the backend I get
user
and
passwordResetURLWithToken
params and I can customize the email, so far so good. What I would like to do here is pass additional info to backend
createAndSendCustomEmail
method so that I can generate deep links according to users OS etc and send the email correctly. If I pass additional info in the
formFields
obj I get the 'Are you sending too many / too few formFields ' 400 error. I would appreciate any pointers. Thanks.
s
r
  • 2
  • 18
  • 6
i found that you can use react components inside of svelte. think that would help for implementing s...
b

beemoe5

about 3 years ago
i found that you can use react components inside of svelte. think that would help for implementing supertokens frontend with svelte?
b
r
  • 2
  • 17
  • 6
Hey 👋 First of all I have to say that SuperTokens is such a great project! I'm using it for a sam...
c

codingtomato

about 3 years ago
Hey 👋 First of all I have to say that SuperTokens is such a great project! I'm using it for a sample project. Now I'm wondering if anybody knows if there is a way to secure a socket.io connection with SuperTokens? Thanks for your help!
c
r
  • 2
  • 5
  • 6
I'm deploying to vercel and using my own mysql db from another site. Where do I put the config.yaml ...
f

funk101

about 3 years ago
I'm deploying to vercel and using my own mysql db from another site. Where do I put the config.yaml file?
f
p
  • 2
  • 8
  • 6
How to change password's mandatory default requirement(8 characters,...). I want to make it only 4 c...
g

gitcommitshow

about 3 years ago
How to change password's mandatory default requirement(8 characters,...). I want to make it only 4 characters min. and no other mandatory requirement. For now, I can add my new validation using node sdk but not able to change the default validation.
g
r
  • 2
  • 5
  • 6
Previous858687Next

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