
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
- Error getting session: AppwriteException...
I get this error `Error getting session: AppwriteException: User (role: guests) missing scope (account)` when running in prod. As soon as I try running my app o...
- PR Review and Issue Assign?
I am not familiar with how things work here. I know that Issue have to be assigned before solving problem, It is for not wasting contributors time but I like t...
- Need help with clerk auth
Im having issue with auth
