Rank 5: Hypervisor
You don’t need the port here
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 5: Hypervisor
You don’t need the port here
Rank 2: Process
In order to verify an account do I have to use backend ?
Rank 2: Process
How can I verify from front end?
Moderator
Seems it's needed an appwrite function for that. You trigger the function from the front end
Moderator
Or with account.create
Rank 2: Process
I can do that. was cursious if there was a front end function for it
Moderator
Seems not
Rank 2: Process
So , I have to create it tradinally . By using a token , I guess
Moderator
What do you mean?
Rank 2: Process
By , having to send an email to the person's account
Rank 2: Process
and then him clicking the link and verifying via a token
Rank 2: Process
once that is done I can mark the account is verified
Rank 2: Process
otherwise , how do I verify if the email is verified or not
Moderator
This is the normal approach. Also sending emails from client side is not a good idea since can be translated into spam, etc
Rank 2: Process
Will send it from next js server side ?
Rank 2: Process
Will that be fine ?
Moderator
I think yes. You can do that too through an appwrite function, probably even more recommend
Rank 2: Process
Appwrite function ?
Rank 2: Process
You mean , I create a function that does the above right ?
Moderator
Yes, appwrite functions are code executed and deployed server side in your appwrite instance
Rank 2: Process
got it thanks
Moderator
Rank 2: Process
Interesting will check it out
Rank 2: Process
thanks
Admin
You can verify on the front end