yiannis.gkoufas
08/22/2022, 5:46 PMrp_st
08/22/2022, 5:48 PMrp_st
08/22/2022, 5:48 PMyiannis.gkoufas
08/22/2022, 5:49 PMrp_st
08/22/2022, 5:51 PMrp_st
08/22/2022, 5:51 PMts
ThirdPartyEmailPassword.init({
override: {
emailVerification: {
components: {
EmailVerificationSendVerifyEmail_Override: ({ DefaultComponent, ...props }) => {
// this is the screen which shows that an email verification email has been sent
return <DefaultComponent {...props}/>
},
EmailVerificationVerifyEmailLinkClicked_Override: ({ DefaultComponent, ...props }) => {
// this is the screen which is shown when the user clicks on the email
// verification link
return <DefaultComponent {...props}/>
},
}
}
}
})
rp_st
08/22/2022, 5:52 PMts
ThirdPartyEmailPassword.init({
emailVerificationFeature: {
disableDefaultUI: true
}
})
rp_st
08/22/2022, 5:52 PMts
ThirdPartyEmailPassword.init({
emailVerificationFeature: {
sendVerifyEmailScreen: {
style: {...}
},
verifyEmailLinkClickedScreen: {
style: {...}
}
}
})
yiannis.gkoufas
08/22/2022, 5:53 PMrp_st
08/22/2022, 5:55 PMts
ThirdPartyEmailPassword.isEmailVerified() -> to check if an email is verified or not
ThirdPartyEmailPassword.sendVerificationEmail() -> send a verification email (uses the current session of the user on the backend to get the email)
ThirdPartyEmailPassword.verifyEmail() -> to call on the page which opens when the user clicks the email link
yiannis.gkoufas
08/22/2022, 5:57 PMrp_st
08/22/2022, 5:58 PMrp_st
08/22/2022, 5:58 PMyiannis.gkoufas
08/22/2022, 6:00 PMyiannis.gkoufas
08/22/2022, 6:01 PMyiannis.gkoufas
08/22/2022, 6:01 PMrp_st
08/22/2022, 6:01 PMrp_st
08/22/2022, 6:02 PMrp_st
08/22/2022, 6:02 PMyiannis.gkoufas
08/22/2022, 6:03 PMrp_st
08/22/2022, 6:03 PMyiannis.gkoufas
08/22/2022, 6:03 PMyiannis.gkoufas
08/22/2022, 6:03 PMrp_st
08/22/2022, 6:03 PM