willb
vigneshkumar5238
What caused the crash: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `io.supertokens.config.CoreConfig` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('git update-index --skip-worktree modules.txt git update-index --skip-worktree settings.gradle git update-index --skip-worktree .idea/runConfigurations/CLI_Main.xml git update-index --skip-worktree .idea/compiler.xml git update-index --skip-worktree .idea/vcs.xml prefix=`./utils/project-prefix` url=https://bitbucket.org/vrai-labs if [[ $1 = "--ssh" ]] then url=git@bitbucket.org:vrai-labs fi if [ $prefix == "supertokens" ]; then') at [Source: (File); line: 4, column: 1]
java -classpath "./core/*:./plugin-interface/*:./ee/*" io.supertokens.Main ./ DEV
rp_st
Arti
py class UserRegisterModel(BaseModel): email: str password: str @router.post('/register') async def register_user( request: Request, user: UserRegisterModel, ): email_password_quertier = Querier.get_instance('emailpassword') path = NormalisedURLPath('/recipe/signup') response = await email_password_quertier.send_post_request(path, user.dict()) if response.get('status') == 'OK': user_id = response['user']['id'] session = await create_new_session( request, user_id ) return True raise Exception('user exists') @router.post('/like_comment') async def like_comment(request: Request): session = await get_session(request, session_required=False) if session is None: raise Exception("Should never come here") user_id = session.get_user_id() print(user_id)
rob197
backend_2 | 2023/03/16 13:36:52 http: response.WriteHeader on hijacked connection from github.com/supertokens/supertokens-golang/supertokens.SendNon200Response (utils.go:188) backend_2 | 2023/03/16 13:36:52 http: response.Write on hijacked connection from github.com/supertokens/supertokens-golang/supertokens.(*basicWriter).Write (doneWriter.go:69)
pitchash
Alex1s
crro
chunkygoo.
# npm audit report qs 6.7.0 - 6.7.2 Severity: high qs vulnerable to Prototype Pollution - https://github.com/advisories/GHSA-hrpp-h998-j3pp fix available via `npm audit fix --force` Will install supertokens-node@2.5.0, which is a breaking change node_modules/qs body-parser 1.19.0 Depends on vulnerable versions of qs node_modules/body-parser supertokens-node >=3.0.0 Depends on vulnerable versions of body-parser node_modules/supertokens-node 3 high severity vulnerabilities
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).