NicolasAlt
08/18/2022, 4:30 PMrp_st
08/18/2022, 4:34 PMNicolasAlt
08/18/2022, 4:34 PMrp_st
08/18/2022, 4:35 PMrp_st
08/18/2022, 4:46 PMrp_st
08/18/2022, 4:48 PMNicolasAlt
08/18/2022, 5:05 PMassociate that to the github account and mark the email as unverified
how to do this part?rp_st
08/18/2022, 5:11 PMGetUserById
function (https://pkg.go.dev/github.com/supertokens/supertokens-golang@v0.8.2/recipe/thirdparty#GetUserByID) and then call the SignInUp
function with that user ID and the new email (https://pkg.go.dev/github.com/supertokens/supertokens-golang@v0.8.2/recipe/thirdparty#SignInUp) which will update that user's email in supertokens. You can pass IsVerified
as false
in the EmailStruct
which is one of the args to that function.NicolasAlt
08/18/2022, 5:13 PMNicolasAlt
08/18/2022, 5:17 PMIsVerified
flag.rp_st
08/18/2022, 5:20 PM