kumar_ayush
ulys8253
"try refresh token"
verifySession
SessionInit.errorHandlers.onUnauthorized
beemoe5
BRBT
js import { useEffect } from 'react'; import Link from 'next/link' import { EmailPasswordAuth } from 'supertokens-auth-react/recipe/emailpassword'; import Session from 'supertokens-auth-react/recipe/session'; import EmailPassword from "supertokens-node/recipe/emailpassword"; import supertokens from 'supertokens-node' import { backendConfig } from '../config/backendConfig' supertokens.init(backendConfig()) export default function Navbar() { useEffect( () => { Session.getUserId().then(userID => EmailPassword.getUserById(userID).then( user => console.log(user.email) ) ) }, [])
xoldyckk
Copani
execreate
supertokens-postgresql:4.1
passwordless
/v1/auth/signinup/code/consume
javax.servlet.ServletException: io.supertokens.pluginInterface.exceptions.StorageQueryException: org.postgresql.util.PSQLException: ERROR: could not serialize access due to read/write dependencies among transactions
darkphoenix2704
[Nest] 64803 - 10/08/2022, 10:37:13 AM ERROR [ExceptionHandler] Nest can't resolve dependencies of the AuthGuard (?). Please make sure that the argument Object at index [0] is available in the ProfileModule context. Potential solutions: - If Object is a provider, is it part of the current ProfileModule? - If Object is exported from a separate @Module, is that module imported within ProfileModule? @Module({ imports: [ /* the Module containing Object */ ] })
chunkygoo.
Alex
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).