mayankgopronto
{"level":"panic","app":"idp","cmd":"server","error":"The providers array has multiple entries for the same third party provider. Please mark one of them as the default one by using 'IsDefault: true'","time":"2023-04-24T16:53:04Z","message":"could not initialize supertokens"}
Sekai
export const frontendConfig = () => { return { appInfo, recipeList: [ EmailPasswordReact.init({ onHandleEvent: async (context) => { if (context.action === "SESSION_ALREADY_EXISTS") { // TODO: console.log("Session already exists") } else { if (context.action === "SUCCESS") { if (context.isNewUser) { // TODO: Sign up console.log("User signed up") createRole() addRoleToUser(context.user.id) } else { console.log("User signed in") // TODO: Sign in } } } } }), SessionReact.init(), ],
chronos_cosmicshadow
pitchash
whatsappxthomas
tenantId
current_user
paras
signInAndUpFeature
Argument of type '{ signInAndUpFeature: { providers: { id: string; name: string; buttonComponent: JSX.Element; }[]; }; }' is not assignable to parameter of type 'UserInput'. Object literal may only specify known properties, and 'signInAndUpFeature' does not exist in type 'UserInput'.ts(2345)
Deleted User
johnmeloy
n000dles
syntaxerror1322
createCode
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).