I'm learning web development after 20 years of only desktop development. Web development has always been intimidating for me because there is just SO much to learn, and the technology keeps changing constantly. I have tried several times to get into web development, but every time I do, I bail out because I never know where to start. Everything seems to depend on you knowing everything else. I'm making another push, and this time I'm going to ASP.NET core 3.1, and one of the things I was having a hard time understanding was middleware authentication and authorization. Your videos have been extremely helpful to me, and wanted to thank you for all the hard work you put into making them, and organizing the concepts so that they are possible to grasp without needing to figure out 50 other things at the same time.
@RawCoding2 жыл бұрын
Thank you, and glad I could help
@ricardothomas37795 жыл бұрын
Yeeaaaaaay : ) : ) : ) Hello Anton. Thank you very much for taking the time to do this video for your audience. We all appreciate the work that you are doing. As I have stated in comment on a previous video, you know how to break down the material in such a way for your audience can understand and then having the confidence to implement it. Along with your passion and drive for Software Design and Development/Computer Science, your are gifted to teach. Keep up the great work man. Thank you very much Anton. Blessings.
@RawCoding5 жыл бұрын
Cheers, I'll bring out the video on two factor as well at some point.
@ricardothomas37795 жыл бұрын
@@RawCoding Awesome. We would all appreciate that man. 👍🏾👐
@LinuxUser8224 жыл бұрын
Just a third video from the list and I'm already sure that I'll learn and understand from it better and quicker than from any other resources. Thank a lot for your effort, I wish you all the best!
@RawCoding4 жыл бұрын
Thank you, hope you learn a lot ;)
@drspyqwerty4 жыл бұрын
Brilliant series. So much Info. Stick with it, absolutely worth it. strongly recommend to watch the whole series
@RawCoding4 жыл бұрын
Thanks for the feedback, glad you liked it!
@milosh9963 жыл бұрын
MailKit! What a great package for sending emails. I'm really learning a lot from this series. Thank you for great content, I'm really excited about other videos in the series.
@RawCoding3 жыл бұрын
Glad to hear!
@maryiapuhachova74104 жыл бұрын
Before your videos, I didn't know much about it, but you tell it very simply and accessible! Cool! I like your whole video course! Awesome!
@RawCoding4 жыл бұрын
Thank you for watching)
@juancarloshb54 жыл бұрын
Excelent content! Thanks! Just added email verification to my Api and worked perfect!
@RawCoding4 жыл бұрын
Awesome!
@ohurcool074 жыл бұрын
I pay for pluralsight every month and you have better content than they do. I appreciate all your hard work and easy explanation for everything. Please continue making content and I will continue recommending to everyone I know.
@RawCoding4 жыл бұрын
Thank you:)
@johannesstenling99314 жыл бұрын
Thanks for this! Really helped me out when I was doing this for a customer.
@RawCoding4 жыл бұрын
Glad I could help
@iudom4 жыл бұрын
Thank you for this videos. Very clearly explained and easy to follow. Much appreciated
@RawCoding4 жыл бұрын
Cheers:)
@salarkazazi75843 жыл бұрын
Wow thank you so muchhhhh, u r a 0&1 digital Angel to the rescue.
@RawCoding3 жыл бұрын
Lol
@WikkiOnIlluminati4 жыл бұрын
Much much appreciated Thank Anton
@RawCoding4 жыл бұрын
Thank you for watching
@azizbekibnhamid6422 жыл бұрын
Amazing course!
@BrothyamHuaman3 жыл бұрын
¡Gracias maestro!
@RawCoding3 жыл бұрын
De nada amigo, gracias por mirar el video
@RawCoding3 жыл бұрын
o miras, mi espanol no es bien
@xelaksal66903 жыл бұрын
Very nice!
@RawCoding3 жыл бұрын
Cheers
@ricardothomas37795 жыл бұрын
Guys please support Anton on Patreon, the Discord Channel and via his affiliate link to host your ASP.NET Core Apps.
@RawCoding5 жыл бұрын
Would be appreciated!
@kradstar4 жыл бұрын
Something beautiful :) Thank you for this video :)
@RawCoding4 жыл бұрын
Happy you enjoyed it!
@abugsbunny2 жыл бұрын
Nice. thanks for this. greate tutorial.
@fabricciotornero68764 жыл бұрын
Excelent my friend
@RawCoding4 жыл бұрын
Thank you :)
@usevenyears4 жыл бұрын
Thanks for the video
@RawCoding4 жыл бұрын
Thank you for watching :)
@haribalachander3 жыл бұрын
Hey Anton. Great video as always. You did not demonstrate the condition where a user tries to login without confirming the email. Ideally the application should not allow the user to login. But when I followed the steps the application does allow me to login without ConfirmEmailAsync() method call first. In such scenario, How does the application verify if the user is yet to validate their email ? Edit: For those wondering, the solution is to set IdentityOptions.SignIn.RequireConfirmedEmail = true during the AddIdentity() call within the ConfigureServices method of your startup class.
@RawCoding3 жыл бұрын
You specify a setting in the startup file when you add identity
@haribalachander3 жыл бұрын
@@RawCoding Thanks buddy. I'll look in to that setting.
@haribalachander3 жыл бұрын
Found the answer and added it to the original comment.
@RawCoding3 жыл бұрын
Thank you
@ZnSstr3 жыл бұрын
Hey man, do you have a good book or resources to learn about Identity, Oauth, OWIN, Roles, Policies, Claims, Cookie auth, JWT. I keep looking after some nice reources to read and see some diagrams, but all tutorials are like "lets open visual studio" and I am rolling eyes. I wanna build a project and while I know how to make some code work I really need to understand the meaning behind those interfaces and why they exists. What were your steps to learning all this? I don't have a workflow in my head about security in general, I feel like putting lego pieces together and call the app secure just because it has Identity and jwt, which is bad especially for an interview.
@RawCoding3 жыл бұрын
Read the specifications. Sit down open them up and read from start to finish. Same as programming you’ll be bored, you’ll put it off for a couple of weeks etc.. Just force yourself and in the end you’ll understand what OAuth & OIDC are and how JWT plays in to it.
@ZnSstr3 жыл бұрын
@@RawCoding you hit home with "put if off for a couple of weeks", I feel like most of the documentations are written to scare away people haha.
@RawCoding3 жыл бұрын
Don’t want to be mean but someone worked hard to write those docs and it’s a hard thing to get right. I’d say it’s more of a knowledge ingestion format that puts people off - not many people read.
@ZnSstr3 жыл бұрын
@@RawCoding Started to read Security in .NET, I am gonna take everything I need in a notepad and then go check with the boys and girls on stackoverflow about whats not clear, I am sure I am not the first asking the questions I want to know. Then I think I have some of your videos on queue, I can't see the tabs anymore because of Microsoft documentation, I opened like 40 tabs. I just don't like implementing blindly some code, I can make it work, I can understand why that code is needed, but something eats me inside I don't know everything.
@RawCoding3 жыл бұрын
Some advice - less tabs is better. And feel free to ask questions on the discord server
@waria_900 Жыл бұрын
I'm facing a problem, im trying to send to my Gmail account but it threw an exception 😢
@giampaolotucci58974 жыл бұрын
Really nice ! tnx
@RawCoding4 жыл бұрын
Ty for watching!
@orhanaliyev97742 жыл бұрын
how after registering a user, did you pass the condition? If configuration is specified, mail verification. Since with this parameter the result will not be successful. I'm just trying to understand, but either you removed this parameter, or I missed something, or who the hell knows how you passed this condition. The only alternative is ! in the condition. Timing is 14:50
@BenHayat4 жыл бұрын
Hey Anton, you did all this email backend part and user interaction using MVC. In my project, I'll only be use Web API, IS4 and Vue client. Do you have a video that shows us how to do all these (email verify or password rest, register, login and etc) using Web Api, Vue and IS4? Or is it coming up in IS4 section? Thanks!
@RawCoding4 жыл бұрын
Just put this logic in your identity server
@Uzair_Anwar22993 жыл бұрын
💜💜💜💜💜
@RawCoding3 жыл бұрын
))
@ghevisartor60052 жыл бұрын
ok dumb question, is there a reason why you only used nameof(VerifyEmail) in that case, but not for the RedirecToAction("Index") methods? i also found on other projects that nameof is not used in those cases but i cant really understand why...Ok maybe because the method name Index() will never change?
@flauberttagu3 жыл бұрын
Hello Raw Coding, Nice tutorial by the way. I have an error. Can't find a way to move forward. I get the verifyEmail link correctly but when I click to it, it does not pass through the AccountController (Controller previously made). I can reach the page correctly by clicking to the mail. But the email is not confirm at all.
@flauberttagu3 жыл бұрын
Never mind, I just had to put the code inside the page and it works fine. Thank you for this awesome tuto. I will support you as always (end of this month). Hope it will be helpfull 😅 Please, do you have a video on password reset?
@RawCoding3 жыл бұрын
Well done, and yes all in these series.
@eddkepner42275 жыл бұрын
Just a suggestion, but maybe you want to check if email confirmations are required before generating a token and sending an email. _userManager.Options.SignIn.RequireConfirmedAccount
@RawCoding5 жыл бұрын
It's a possibility!
@sweetydhore23902 жыл бұрын
Genius
@RawCoding2 жыл бұрын
Ta
@thanzeeljalaldeen11 ай бұрын
shouldn't it be POST instead of get when verifying an email?
@ervssevilla41195 жыл бұрын
Nice!
@RawCoding5 жыл бұрын
Cheers
@lilasalsyoufi49154 жыл бұрын
Great Videos. I followed all the steps, but whenever I hit the Login button nothing happens. what am I doing wrong?
@RawCoding4 жыл бұрын
So umm when you press the button it’ll try to redirect you to a route double check that it’s bound and exists or maybe it’s happening so fast you can’t see it, which is a good thing
@Solmead4 жыл бұрын
Could you cover 2 factor login as well?
@RawCoding4 жыл бұрын
I will once I learn it.
@dkisov14 жыл бұрын
Hello, Anton! I have this exception "no connection could be made because the target machine actively refused it. 127.0.0.1". Can you tell me what can I do about it? P.S. Great video btw!
@RawCoding4 жыл бұрын
Have you installed the smtp server?
@dkisov14 жыл бұрын
@@RawCoding No, I haven't... Thank you! :D
@RawCoding4 жыл бұрын
No worries
@michavegte79304 жыл бұрын
Can this also be used for wpf applications?
@RawCoding4 жыл бұрын
Yes I have a video in the playlist on how to have a basic setup
@pranavsharma48664 жыл бұрын
Hey I am getting an error at "await _ email service.sendasync" as we go through the process, exception handling, I hope you will help me out with this.
@RawCoding4 жыл бұрын
What's the error? Have you tried googling the error?
@pranavsharma48664 жыл бұрын
Raw Coding i tried but i cant find any solution for that its just when u go to register it won’t send you the email, and moreover can we send email to any email to any email provider or to just papercut which I don’t understand
@RawCoding4 жыл бұрын
What's the error saying?
@pranavsharma48664 жыл бұрын
Raw Coding I’ll post you a secreenshot in few minutes
@RawCoding4 жыл бұрын
@@pranavsharma4866 can you not copy paste it?
@demonbruster9264 жыл бұрын
ServiceNotAuthenticatedException: 5.7.0 Must issue a STARTTLS command first. 191sm9950642pfz.30 - gsmtp MailKit.Net.Smtp.SmtpClient.ProcessMailFromResponse(MimeMessage message, MailboxAddress mailbox, SmtpResponse response) when i try to use gmail smtp sever i got this error
@demonbruster9264 жыл бұрын
if i use smtp port as 465 SmtpProtocolException: The SMTP server has unexpectedly disconnected. MailKit.Net.Smtp.SmtpStream.ReadAheadAsync(bool doAsync, CancellationToken cancellationToken) i got this one
@RawCoding4 жыл бұрын
Not sure, haven't worked with the gmail smtp
@rizwinshaikh45214 жыл бұрын
Is there any alternative for papercut ? bcz sometimes it doesn't work.
A Greate Work for the shake of whole (Identity Server4) Community. Ok, so to reset the password, one need to use.. ResetPasswordAsync insted of ConfirmEmailAsync, Like this _userManager.ResetPasswordAsync(user, model.Code, model.Password). But I want to know how do I set time limit to verify the email. In the above case I can even verify after many days. Hope you got my point!
@RawCoding4 жыл бұрын
Thank you. Never done this, try this article: www.tech-coder.com/2016/06/how-to-change-aspnet-identity-token.html Don't forget to share your findings :)
@1kidfearless4 жыл бұрын
Look at that, a video that actually covers how to implement the email service rather than telling people to just call their own functions.
@RawCoding4 жыл бұрын
That’s what we do here )
@nove13982 жыл бұрын
Token always fails no matter how many times i generate the token
@mehmetalibasarr24764 жыл бұрын
I haven't find any single documents that work for ASP.NET FRAMEWORK WEB FORM IDENTİTY... no one is using that thing?
@mehmetalibasarr24764 жыл бұрын
I mean i found some microsoft documents. But they are either dead or dying...