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
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Rate Limit of project
AppwriteException: Rate limit for the current endpoint has been exceeded. Please try again after some time. So , how much time I have to wait and why does it h...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...