Get userId & secret to manually create and send verification email, from within an appwrite function
- 0
- Auth
- Web
- Functions
1.) I have got an appwrite function triggered by user.created.event, that executes await account.createVerification(verifyUrl); for a given just created user.
2.) This triggers a verification.created.event, which in turn triggers another appwrite function of mine, which should create the verification email out of the returned token and send it alongside with a custom made verification email to the respective user.
How to get the correct and valid userId & secret params - I am talking about the two params which usually get attached to the native verification email sent by appwrite itself (if activated). I want to not use this native service, but instead create a custom made email, sent by my appwrite function triggered by the above mentioned verificationCreate event, but I am struggling getting the correct and valid verification link params to attach to the verification email - any idea....?
Recommended threads
- router_deployment_not_found
I updated my function a few times and now i am getting the error: router_deployment_not_found I even reverted back to my original code but i am still getting th...
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!