You donβt need the port here
In order to verify an account do I have to use backend ?
How can I verify from front end?
Seems it's needed an appwrite function for that. You trigger the function from the front end
Or with account.create
I can do that. was cursious if there was a front end function for it
Seems not
So , I have to create it tradinally . By using a token , I guess
What do you mean?
By , having to send an email to the person's account
and then him clicking the link and verifying via a token
once that is done I can mark the account is verified
otherwise , how do I verify if the email is verified or not
This is the normal approach. Also sending emails from client side is not a good idea since can be translated into spam, etc
Will send it from next js server side ?
Will that be fine ?
I think yes. You can do that too through an appwrite function, probably even more recommend
Appwrite function ?
You mean , I create a function that does the above right ?
Yes, appwrite functions are code executed and deployed server side in your appwrite instance
got it thanks
Interesting will check it out
thanks
You can verify on the front end
Recommended threads
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...
- How to properly implement custom domain?...
- Site deployment does not work.
I can change a file, deploy, change does not take effect. Delete file in repo, push changes,deploy. Old file remains undeleted Duplicate file, rename it, push,...