Want to know how Email verification works.
Hello I have to add methods foe email verification but I don't know how thing works. I need help.
12 Replies
We need more information. What kind of app is it and what have you already tried etc
it is dotnet Core 8 WEBAPI project
I am developing project without core identity
Use Identity, it makes all this pretty easier otherwise it's complicated
Is it the only and better option?
Is it same, Password hashed by Identity and JWT?
Thanks
Yes it's better option and Identity recommends to use Cookie authentication and Identity's Bearer token isn't same as JWT
I think JWT is mpre secure then
Cookie auth is more secure
To get started just follow this guide :
https://learn.microsoft.com/en-us/aspnet/core/security/authentication/identity-api-authorization?view=aspnetcore-9.0
Use Identity to secure a Web API backend for SPAs
Learn how to use Identity to secure a Web API backend for single page applications (SPAs).
Reallt thanks to you
So that guide tells you all you need to know about setting up auth in your backend/api
$close
If you have no further questions, please use /close to mark the forum thread as answered
okay