n1ru4l
emailVerificationFeature
Morgante Pell
EdwinN1337
ITEnthusiasm
request
Node.js
Svelte Kit
fsimoes
Prathap
bazinga9527_
albatroz
roles.go:94: [Info] Role added to user: &{false} with user_id:702116bc-1a9f-4a1c-b71e-3d74d9c0fce4 role: admin
go admin.Get("/auth/role", func(c *fiber.Ctx) error { sessionContainer := session.GetSessionFromRequestContext(c.UserContext()) response, err := userroles.GetRolesForUser("public", sessionContainer.GetUserID(), nil) if err != nil { log.Errorf("Error getting roles: %v", err) return util.ReturnError(c, 500, "Error getting roles") } return util.ReturnSuccess(c, response.OK.Roles) })
ThirdPartyEmailPassword
*withoutRequestResponse()
Luca
On the backend, you should set the websiteDomain to be your main domain (example.com if your sub domains are sub.example.com), and then you want to override the sendEmail functions to change the domain of the link dynamically based on the tenant ID supplied to the sendEmail function. See the Email Delivery section in our docs for how to override the sendEmail function.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).