Complete User Registration / Login Flow | Spring Boot 3 With Email Verification.| Spring security 6

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 99

  • @dailycodework
    @dailycodework  3 месяца назад

    Java Full-Stack Development Course:
    Build a complete Secured Pet Clinic with Java / Spring Boot / Reactjs with full security. ( full course 50% off price )
    www.udemy.com/course/a-complete-guide-to-java-full-stack-development-with-react/?couponCode=DCWDECCODE

  • @solankiniranjan1423
    @solankiniranjan1423 Год назад +7

    I am learning a lot from this video please make a dedicated spring boot playlist 🙏

    • @dailycodework
      @dailycodework  Год назад +1

      Good suggestion, I will work toward that

  • @saFeHD
    @saFeHD Год назад +3

    Great demonstration, thank you very much! Im new to Spring Boot and i had so much fun implementing this myself and learned a lot along the way!
    Thanks good sir ☺

  • @kugelblitz3244
    @kugelblitz3244 Месяц назад

    spring boot tutorial including spring data jpa, security, and exception handling if possible sir and i love your all content 🥳

  • @mathpier305
    @mathpier305 11 месяцев назад

    You are awesome. Thank you for taking the time to show us how to implement the login process. Helped me very much!

  • @ijedibiadaniel7082
    @ijedibiadaniel7082 Год назад +4

    Love your work man, very educational

  • @alfredochola5971
    @alfredochola5971 Год назад

    You are a really good teacher sir. God bless you

  • @pranav-codes
    @pranav-codes Год назад +1

    I learnt so much thank you my brother! Easy to digest and follow your lesson.

    • @dailycodework
      @dailycodework  Год назад

      I'm glad to hear that, thanks so much🙏

  • @saravogelin
    @saravogelin 8 месяцев назад

    Thank you so much for your effort. I have learnt a lot with this video: You are an amazing teacher!!!

  • @alex302582
    @alex302582 Год назад

    working and functioning all the way, thank for putting the time and effort dude!

    • @Av-fn5wx
      @Av-fn5wx 11 месяцев назад

      is this a bot?? I saw this exact comment on other videos

  • @habeebkinlolu9668
    @habeebkinlolu9668 2 месяца назад

    Nice content, I'm still confused on the REGISTRATION REQUEST Record, is it DTO, and while should a user enter their role themselves.please clarify these 😢

  • @maYoutubeTube
    @maYoutubeTube Год назад

    Great video. Thank you. If you add React JS for this, it will be more surprising.

  • @arindamghosh636
    @arindamghosh636 Год назад

    Perfect Tutorial. Thank you very much Sir 😊😊

  • @especializacionIngenieriaSoftw
    @especializacionIngenieriaSoftw 8 месяцев назад

    Hello Sr. In any of your videos do you use role diferentiation? I mean, base on user's roles being able to access to an especific endpoint?

  • @solankiniranjan1423
    @solankiniranjan1423 Год назад +1

    very nice job keep going brother 💕😁

  • @phamquan1358
    @phamquan1358 Год назад +1

    Hi, it is a great lesson. I have a problem If I using form login default of spring security I can login success, but if I login with my form login with jwt it will not work. It always 401 even the account activate. So can you create a video login with jwt

    • @dailycodework
      @dailycodework  Год назад

      I will check that out, but make sure your security configuration includes the path / URL to your custom login page

  • @hovseparoyan4851
    @hovseparoyan4851 Год назад

    I want to build a website with users and this login/register feature. Why didn't you make the verfiyToken into a VerifyTokenService class(keyword Seperation of Concerns)? Thanks for the video. The next steps for me is to make some kind of Homepage for logged in users :)

    • @dailycodework
      @dailycodework  Год назад

      Sure, it can be moved to the verifyTokenService as well.

  • @kareendawn4991
    @kareendawn4991 Год назад

    Nice job, thank you so much, bro, please can you add the resend token functionality so that a user can get a new token in case the account was not enabled before the got expired?

    • @dailycodework
      @dailycodework  Год назад

      Hi, please check this video for the resend verification token ruclips.net/video/_zbfs0_4dbE/видео.html

  • @MouhebBenelwafi
    @MouhebBenelwafi Год назад +2

    Hello sir i want the user when he clicks on the verification link to be redirected to login with a little pop up of email verified u can now login

  • @qqqqqq9281
    @qqqqqq9281 Год назад

    Thanks sir, it is outstanding knowledge!

  • @hammamimeher
    @hammamimeher 11 месяцев назад

    thank you I how can I add validation by twilio sms otp after email verification

  • @thinhstarnguyen8205
    @thinhstarnguyen8205 Год назад

    your video so great. i'd love this video

  • @SeifEddineAMARA-t7e
    @SeifEddineAMARA-t7e Год назад

    Thank you very much GOOD JOB. Can you do the front-end part with Angular?

    • @dailycodework
      @dailycodework  Год назад +1

      Hi, thanks for your suggestion, we will work on that in some of our subsequent videos.

    • @especializacionIngenieriaSoftw
      @especializacionIngenieriaSoftw 8 месяцев назад

      @@dailycodework Hello Sr. I han the same suggestion. A full stack web app (spring - Angular) would be amazing. Off course using this part of Spring Security. Thanks in advance.

    • @dailycodework
      @dailycodework  8 месяцев назад

      @@especializacionIngenieriaSoftw Sure, I will work towards that soon 🙂

  • @Rkreddy123
    @Rkreddy123 Год назад

    Superb video..,thank you...keep posting

  • @patrykkobyka7364
    @patrykkobyka7364 Год назад

    u are amazing dude!

  • @aliksargsyan2782
    @aliksargsyan2782 Год назад +1

    which font family do you use on your Intellij IDE ?

    • @dailycodework
      @dailycodework  Год назад

      Default font with Atom One Dark ( Material ) IntelliJ Ultimate Edition :-)

  • @abdulqaadir1035
    @abdulqaadir1035 9 месяцев назад

    thanks sir ❣

  • @MbahmanFarm
    @MbahmanFarm Год назад

    Hi bro, thank you very much, it helps me alot, but i encounter an error for smtp. its said that could not connect to host, port. the mail configuration is already similar from your repo in github. any advice is really appreciated. thank you !

    • @michealraj699
      @michealraj699 10 месяцев назад

      Same error for me also bro

    • @michealraj699
      @michealraj699 10 месяцев назад

      It says unknown host error

  • @prathammishra7844
    @prathammishra7844 7 месяцев назад

    Sir i recieved an email when i registered but when i click that application url it says that local host refused to connect how can i fix it😢

  • @NPASUPULETISRICHAITANYAMADHAV
    @NPASUPULETISRICHAITANYAMADHAV Год назад +1

    Can we do the front end part with react and integrate it with springboot the same service?

  • @DattatrayBharde-v1f
    @DattatrayBharde-v1f Год назад +1

    Hello sir,new updated code not in your github?

    • @dailycodework
      @dailycodework  Год назад

      Follow the link below to get the code from my git repo.

  • @RushikeshH27
    @RushikeshH27 4 месяца назад

    Heyy am working on a project, and I needed an assistance regarding the project as I am new in this field of development. How can I contact you sir?

  • @_PRANAYMATE
    @_PRANAYMATE 10 месяцев назад

    Hey I have doubt what if the user use the proxy email ids and we are first storing it in our database and then verify the email id so if user continuously entering the different mails then that much amount of data would be accumulated in our database right
    So can we do like that we can verify first then enter the data in the database

  • @eliueliezeranayagutierrez6650
    @eliueliezeranayagutierrez6650 Год назад

    Brother I have a doubt, how can I join this back with my front(reacjs), obviously I added more tables, how could I do that? pls i need help

  • @eliueliezeranayagutierrez6650
    @eliueliezeranayagutierrez6650 Год назад

    Hi bro, i need help: in the userService part I get this error:the blank final field userRepository may not have been initialized, how can I fix that?

    • @eliueliezeranayagutierrez6650
      @eliueliezeranayagutierrez6650 Год назад

      why the userRepository in the userService is final?

    • @dailycodework
      @dailycodework  Год назад +1

      Hi, make sure you have this Lombok annotation @RequiredArgsConstructor on your class, this will do the " constructor injection " for you using all "the final fields " in your class and thereby initializing them in the constructor for you.

    • @eliueliezeranayagutierrez6650
      @eliueliezeranayagutierrez6650 Год назад

      @@dailycodework Thank you so much!

  • @anupambiswas7043
    @anupambiswas7043 Год назад

    sir please make a telegram group where we can ask doubt

  • @szymonszopinski
    @szymonszopinski Год назад +1

    Could you show your sql?

    • @dailycodework
      @dailycodework  Год назад

      Hi, in this demo, we didn't write the SQL manually, we create it through our JPA entity with Hibernate, you can check the properties file to go through the settings. Thanks for reaching out to us.

  • @tishasudani5982
    @tishasudani5982 10 месяцев назад

    403 forbidden error occurs in my application please help me

    • @dailycodework
      @dailycodework  10 месяцев назад

      Hi, sorry about that, please can you join my Facebook page so that you can paste the stackTrace there for me to check for you?

  • @Yusuffaruq-c4y
    @Yusuffaruq-c4y Год назад

    Sir it keeps telling me some method are deprecated.
    Sir please what should i do

    • @dailycodework
      @dailycodework  Год назад

      Hi, sorry to hear that, which of the classes you are getting this message from?

    • @Yusuffaruq-c4y
      @Yusuffaruq-c4y Год назад

      @@dailycodework Sir from SecurityFilterChain class .
      It keeps telling me cors() is deprecated and I tried csrf() but same issue

    • @dailycodework
      @dailycodework  Год назад

      @@Yusuffaruq-c4y Yes, I see, please try to look here for a possible solution: docs.spring.io/spring-security/site/docs/current/api/deprecated-list.html or you can check to be sure you are using the same version with me

    • @Yusuffaruq-c4y
      @Yusuffaruq-c4y Год назад

      @@dailycodework thanks sir

    • @dailycodework
      @dailycodework  Год назад

      @@Yusuffaruq-c4y I'm glad you like the video :-)

  • @petersabraham7423
    @petersabraham7423 Год назад

    This is one of the best RUclips tutorial I've come across for springboot beside Amigoscode. I'd love to connect. Please let me know how I can connect with you.

    • @dailycodework
      @dailycodework  Год назад

      Hi, I have got a new page on FB you can reach me here: facebook.com/cDaily115

  • @ChetanNehra-yl8xf
    @ChetanNehra-yl8xf Год назад

    can you give complete code with login

    • @dailycodework
      @dailycodework  Год назад

      Hi, please follow the link below the video to get the complete code from my git repo I have just updated the link. Thanks for calling my attention to it 🙂

    • @ChetanNehra-yl8xf
      @ChetanNehra-yl8xf Год назад

      ​@@dailycodework sorry ,but I stll can't find /login mapping in your git repo.
      or I am missing something

  • @istudio523
    @istudio523 Год назад +1

    Tutorial not complete

    • @dailycodework
      @dailycodework  Год назад

      Please, stay tuned the part 2 has not finished uploading it will be available soon to complete the tutorial, 🙂

    • @dailycodework
      @dailycodework  Год назад +1

      Hi, here is the second half of the video: ruclips.net/video/B7FiELbypBU/видео.html

    • @oumaimalaamrani9404
      @oumaimalaamrani9404 Год назад

      @@dailycodework Video unavailable
      This video is private

  • @ijedibiadaniel7082
    @ijedibiadaniel7082 Год назад

    I am actually having an issue while running the code on postman
    sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    It has something to do with adding the server's certificate to my truststore, how do I go about this?

    • @dailycodework
      @dailycodework  Год назад

      Hi, sorry for that problem, there is a similar discussion here about this error please take a look maybe it can give you some insight on how to get rid of it. stackoverflow.com/questions/6908948/java-sun-security-provider-certpath-suncertpathbuilderexception-unable-to-find

  • @Bulb22811
    @Bulb22811 2 месяца назад

    49:57

  • @MrPawcio1974
    @MrPawcio1974 Год назад +1

    Hi. I'm trying to learn with your video, but ... my first try to run the app makes some errors like :
    2023-07-17T20:51:26.236+02:00 INFO 9240 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.1.7.Final
    2023-07-17T20:51:26.432+02:00 INFO 9240 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
    2023-07-17T20:51:27.616+02:00 ERROR 9240 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Exception during pool initialization.
    java.sql.SQLSyntaxErrorException: Unknown database 'registration_db'
    at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) ~[mysql-connector-j-8.0.32.jar:8.0.32]
    It seems like it cannot find the database, but you says - the db is creating while running app? Or maybe I'm wrong. I installed an sql server - I thought - it is necessary ... What can be wrong ?

    • @dailycodework
      @dailycodework  Год назад

      Hi, sorry, I missed your message, that error means the registration_db schema does not exist in your system. You have to open your DBMS and create a scheme with that name so that the tables can be created inside.

  • @fatmaessid9257
    @fatmaessid9257 Год назад

    Hello, thank you for your effort, but while running the code i found this error "java: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'"
    Do you have an idea, tank you in advance !!

    • @dailycodework
      @dailycodework  Год назад

      Hi, sorry for that error, please, join our channel page on Facebook and the paste the error stacktrace on the chat facebook.com/cDaily115

  • @jacksonemmerich
    @jacksonemmerich Год назад

    Thanks man! my result -> i.imgur.com/xIgsMpN.png

  • @prathammishra7844
    @prathammishra7844 7 месяцев назад

    Sir i recieved an email when i registered but when i click that application url it says that local host refused to connect how can i fix it😢

    • @atulkoypare4858
      @atulkoypare4858 20 часов назад +1

      You should open email in the same browser(device) where localhost is running