jam_nside
mayankgopronto
What caused the crash: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `int` from String "tcp://10.2.124.128:3567": not a valid `int` value at [Source: (File); line: 194, column: 7] (through reference chain: io.supertokens.config.CoreConfig["port"])
chunkygoo.
ITEnthusiasm
localhost
n1ru4l
atoyebs
ROMAIN
tomita0022
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) })
predev_77816
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).