المدة الزمنية 1:2:42

Implementing JWT Authentication using Spring Boot Step by Step | Spring boot tutorial in HINDI

167 433 مشاهدة
0
2.1 K
تم نشره في 2020/11/27

In this video, we are going to learn how to implement jwt authentication using spring boot step by step. Implementing JWT Authentication using Spring Boot Step by Step | Spring boot tutorial in HINDI #springboot #jwtauthentication #durgeshtiwari Download Source Code: https://learncodewithdurgesh.com/course/spring-boot-tutorial-in-hindi/ Full playlist link: /playlist/PL0zysOflRCelmjxj-g4jLr3WKraSU_e8q Telegram Link for Doubt: https://t.me/learncodewithdurgesh Important Videos: ➡️React JS with Project : /watch/cFZFWDtWnjTWF ➡️Learn JDBC in one video:/watch/s4t12Q7lbZll1 ➡️Learn Python in One Video: /watch/EbFHdJAHYG7HH ➡️Learn HTML in one video:/watch/ANShVe227Jp2h ➡️Learn HTML form in one video: /watch/ANShVe227Jp2h ➡️Learn JavaScript in one videos: /watch/0M3cmel0ARb0c ➡️Learn Form Validation using javascript and jquery:/watch/8EnPardZOqgZP ➡️Learn CSS in one video: /watch/ANShVe227Jp2h ➡️Jquery in one video:/watch/ANShVe227Jp2h Kotlin is one video:/watch/4n2hzH89eop9h ➡️Complete Python Project - Youtube downloader in one video: /watch/ANShVe227Jp2h Important Playlist: ➡️Spring Boot Tutorial with Project : /playlist/PL0zysOflRCelmjxj-g4jLr3WKraSU_e8q ➡️Spring MVC Tutorial: /playlist/PL0zysOflRCelAb51IrexpUSeB0dpr9p6g ➡️Complete Spring Framework Tutorial: /playlist/PL0zysOflRCekeiERASkpi-crREVensZGS ➡️Hibernate Tutorials: /playlist/PL0zysOflRCekX8OO7V7pGQ9kxZ28JyJlk ➡️E-Commerce Project using Java: /playlist/PL0zysOflRCekMr91amXBNwWku4PmeFaFD ➡️AWS Free Java Hosting Playlist: /playlist/PL0zysOflRCek6D-kLRM48rhyvTEbc60nc ➡️Hibernate Tutorial Playlist: /playlist/PL0zysOflRCekX8OO7V7pGQ9kxZ28JyJlk ➡️Learn Technology in One Vides: /playlist/PL0zysOflRCenCfUTpsGw9crgOih-VbNoT ➡️Programming Tips for Programmers: /playlist/PL0zysOflRCek9j3teu1y3mYTGBVgOwJ_f ➡️Complete Python for Beginners: /playlist/PL0zysOflRCel7fKZ_bBjlxA0XsHlbsv7P ➡️Important Python Projects: /playlist/PL0zysOflRCena7wgzzM-Jg8184phWz-nr ➡️Complete Servlet & JSP : /playlist/PL0zysOflRCel5BSXoslpfDawe8FyyOSZb ➡️Complete JDBC ( Java Database Connectivity) : /playlist/PL0zysOflRCenjuvOwumYLG9TCsEQZrV2M ➡️Complete Java Project : TechBlog: /playlist/PL0zysOflRCekb_ggXQYQSu-g-kWKgudBf ➡️Java Swing Projects: /playlist/PL0zysOflRCemLgOlgbhivNZIIypAkL1T8 ➡️Java Core Concepts:/playlist/PL0zysOflRCekj9UfQWDBPMxQCkHiCIFar ➡️Kya aap Jante hai Series: /playlist/PL0zysOflRCemMnjIOHivEpZGDXFYyINnO Important Links: 👉Official Website (Source Code): https://learncodewithdurgesh.com/ 👉Telegram Discussion Group: https://t.me/learncodewithdurgesh 👉Follow me on Instagram: https://www.instagram.com/durgesh_k_t/ 👉Follow on Facebook https://www.facebook.com/learncodewithdurgesh/ Disclaimer: All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.

الفئة

عرض المزيد

تعليقات - 159
  • @
    @LearnCodeWithDurgeshقبل 4 أشهر latest update :(use filterchain bean instead of websecurityconfigurerAdapter)
    Video LinK:
    1
  • @
    @ManishaKumari-fs1ssمنذ 2 سنوات thanks for making it so easy. i watched many videos on jwt and it was so difficult to understand. But now atleast i can create a basic application by implementing jwt 1
  • @
    @prabalsaxena5536منذ 2 سنوات Thank you Durgesh, these videos are really simple, descriptive and helpful.
  • @
    @a_l_o_k_1991منذ 3 سنوات Sir itni mehnat karne k liye dil se salute.best things code is working.few error i have seen in my version but those I fixed. 2
  • @
    @perfect-pixelsمنذ 2 سنوات Hello Durgesh Sir , Glad You Create So Much knowledgeable videos. If You Use Databases instead of Fake-Service it will be more useful. Thankyou 5
  • @
    @amitsharma-ri3qkمنذ 3 سنوات Sir please make a series on oAuth 2 with spring boot.. hot interview room topic 15
  • @
    @bejoypramanick1624منذ 2 سنوات Thank you so much for this content. We have oauth implemented in our project and this video helps in understanding the legacy code.
  • @
    @virendrakhade7940العام الماضي what an explanatory video Durgesh, keep it up. Thanks a lot
  • @
    @lovetocodeمنذ 4 سنوات Just saved a lot of hassle for me..Thanks!!!
  • @
    @darshanraut554منذ 2 سنوات 1 hour video and for project creation we need to see another video. Waah bhai
  • @
    @moonbaby3320العام الماضي Which authentication is best from angular (client side) or server side .Thanks for the best explaination. please make one video if possible. 1
  • @
    @ajitpandey100منذ 2 سنوات Hi Durgesh, will it work in load balancer mode? Please reply!!!!
  • @
    @hrajiv29منذ 2 سنوات Durgesh JI, wakai me maza aa gaya, Awsome video
  • @
    @arunbiradar7736منذ 3 سنوات It was really simple and easy to understand, Thank u
  • @
    @ankanghosh169منذ 2 سنوات Hi Durgesh, some classes are deprecated in the new version of oauth2(2.5.2.RELEASE) so i am trying to understand what could be the alternative way to configure id="hidden4" class="buttons"> a token generating microservice apart from keycloak, gluu.. can i use jwt instead of oauth2? ....وسعت 9
  • @
    @sameerkhanmarksmanمنذ 2 سنوات Fun Fact: You don't need to restart application to generate to generate token again. It lives in the System with timestamp. I tried with same code.
  • @
    @maheshyadav-hi6hsمنذ 3 سنوات Great explanation. Also could you please show us how to refresh a token?? 1
  • @
    @amitkumar-uz3zfمنذ 2 سنوات hello durgesh . at you use jjwt , now it has vulnerabilities . Any suggestions regarding that , should we use it or now?
  • @
    @manavchauhan4769قبل 11 أشهر ThaNKYOU SOO much sir your video helped me a lot.
  • @
    @user-jz2up8hp3eقبل 9 أشهر Hi Durgesh, this video explanation was too good to follow. One Request from you to please
    Make a video on Spring boot Security for beginners, so id="hidden7" class="buttons"> that they can understand completely
    what things are happening.
    Like you used "UsernamePasswordAuthenticationToken.setDetails()" and so on.
    Please make a video on SpringSecurity with like some beginners can also get 100 % things.
    Althouhg, your vides are so nice.
    And WebSecurityConfigurerAdapter is now deprecated. Please explain how to use alternate way
    ....وسعت
  • @
    @guptajigaming3840منذ 3 سنوات give little bit more explanations about the classes and functions that you are using in this code. 5
  • @
    @krutarthchovatiya6949منذ 4 سنوات it still gives me this error "Consider defining a bean of type 'org.springframework.security.authentication.AuthenticationManager' in your id="hidden8" class="buttons"> configuration." after registering AuthenticationManager as bean in config ....وسعت 12
  • @
    @rahimkhan-fh9ddمنذ 3 سنوات Nice content but few things not explained in detailed like
    1: That JWT utility class how user credential converting into token form.
    2: id="hidden9" class="buttons"> How to prevent admin APIs so User not able to access admin APIs.
    3: Usually user not hit token APIs in real application to generate the token so how we can achieve it.
    ....وسعت 8
  • @
    @abhisheksonkar20منذ 2 سنوات how to solve cors error when using frontend like react or angular?? Iam developing project in react and wanted to use jwt and cors together but getting token error using manual cors config.
  • @
    @tahakanchwala5218منذ 3 سنوات sir i have one dout related to spring boot that if we pass any filter from Angular then how can extract that filter in spring and send data according to that filter
  • @
    @tejaspatil3869منذ 3 سنوات sir please explain clearly why and for what purpose you using particular method or class, its confusing 5
  • @
    @kuhugarhwal6096منذ 2 سنوات Great video , please make video on oauth 2 as well.
  • @
    @AnkitSaini-ij6wlمنذ 2 سنوات Hello sir, you code is working fine until n unless i apply eurekaClient into this code.
    Error showing up: Ab expected csrf token cannot be found. id="hidden12" class="buttons">
    It is like impossible for me and my mates to solve and even find the reason of this error
    ....وسعت
  • @
    @mohdazharrazaqadri4638قبل 9 أشهر Will this token expire due to inactivity in application or it will expire on defined time ?
  • @
    @SUMITKUMAR-zf5etمنذ 2 سنوات i am still getting error in authenticationManagerBean();
    undefind for the type Object
    ..how to solve this error?
    1
  • @
    @rahulfitnessclub1419منذ 3 سنوات What if 100 user logged in this server and 100 token generated with 100 user..so where it will store the token??? 1
  • @
    @zahidch7932منذ 2 سنوات Hi Sir, I'm getting the following exception once I run /welcome
    java.lang.NullPointerException: Cannot invoke "com.jwt.services.CustomUserDetailsService.loadUserByUsername(String)" id="hidden13" class="buttons"> because "this.customUserDetailsService" is null
    at com.jwt.config.JwtAuthenticaionFilter.doFilterInternal(JwtAuthenticaionFilter.java:51) ~[classes/:na]
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.23.jar:5.3.23]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) ~[spring-security-web-5.7.4.jar:5.7.4]
    at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) ~[spring-security-web-5.7.4.jar:5.7.4]
    at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) ~[spring-security-web-5.7.4.jar:5.7.4]
    ....وسعت
  • @
    @spidey3031منذ 3 سنوات Sir, please make videos of more annotation usage in Springboot. Where to use them.
  • @
    @sankalparora9374العام الماضي We cannot use WebSecurityConfigurerAdapter is depreacated. 1
  • @
    @syedrehan62منذ 2 سنوات Sir if i am creting a token and all things are work properly.But again i am creting a new token for same user then how to expire old token.Plese comment sir
  • @
    @rupeshdubey6461منذ 2 سنوات While trying to generate the token using postman throwing 404. Please help 1
  • @
    @akankshasinha3352منذ 2 سنوات Hi sir I was asked a question by the interviewer and the question is
    Q) Suppose I am hitting an endpoint and I am having the token appended as id="hidden15" class="buttons"> header for that endpoint so every time I hit that Endpoint will the authentication check is gonna happen again and again or not and I was unable to answer this question I think the answer is that before hitting the request my filter check is gonna happen and there this check is gonna be done where we are checking that security context.getAuthenticated() object is Null or not if it is not null then the rest of the check is not going to happen because the details are saved there already but my question is like for different types of users suppose 5 users are there five users have their own token so how that check is going to happen please clear this doubt sir.
    ....وسعت
  • @
    @vikasprajapati9025منذ 4 سنوات Sir can you make video on server side datatable in java , servlet. 1
  • @
    @saniyamansuri2530منذ 3 سنوات can you please make a video how to implement jwt token in microservice and how to call one micorservice to another
  • @
    @pawandekate7052منذ 3 سنوات Sir, can you make same video using Mybatis
  • @
    @swapnilbamble1170قبل 11 أشهر Token is generating successfully. But At last when trying to access welcome and getusers ResponseEntity Getting error : 403 Forbidden
    The request id="hidden16" class="buttons"> was a legal request, but the server is refusing to respond to it. Unlike a 401 Unauthorized response, authenticating will make no difference.
    Please help if anybody knows the solution.
    ....وسعت 2
  • @
    @abhishekchauhan7974منذ 3 سنوات I am getting an error while generating token in dogeneratetoken() method.Please help.I am getting error as Classnotfoundexception
  • @
    @asmit789منذ 2 سنوات can you please explain how to add JWT based authentication in spring cloud gateway
  • @
    @RavindraKumar-gz6pfمنذ 2 سنوات Hello sir, just I downloaded your code by paying the amount. But could not see the code for spring jwt authentication. Can you pls help
  • @
    @anuragchaturvedi2672منذ 2 سنوات Still facing at first apu call when use it on browser. facing whitelabel error page . please reply why and how can i resolve
  • @
    @visualart8609منذ 3 سنوات Sir, please Oauth k upar video banaye bahut important topic hain aur koi achi video nhi mil rhi h.
  • @
    @abhishekgaurrمنذ 4 سنوات please integrate this with Angular frontend. 2
  • @
    @ganeshdaund4493قبل 11 أشهر Sir, please make a video on JWT+ LDAP authentication
  • @
    @anandanmol2093منذ 2 سنوات Sir, Can you explain Authentication of user in Azure graph API who take client id, tanant id, username and password and send response login succeeded.
  • @
    @SinghHarmanatمنذ 2 سنوات Most of the things are deprecated, is there any video that uses the latest code? 1
  • @
    @vikaspooner9846منذ 3 سنوات Very well explained. please do the same with database also.. 1
  • @
    @ameeshasaxena3709منذ 4 سنوات Where I'd the code for JWTUtil token sir? Please send that 1
  • @
    @shubhamdeshmukh3702منذ 4 سنوات Plz provide Oauth2 authentication video
  • @
    @aman9806393385منذ 3 سنوات sir please ek video jwt authentication with react dijiye
  • @
    @nischaljadhav8395منذ 3 سنوات Huge shoutout to Learn Code with Durgesh : ) 1
  • @
    @jatinbansal4071منذ 3 سنوات You're teaching how to copy and paste.
  • @
    @themovielab1148منذ 2 سنوات Hi Durgesh, This is 1st time I have seen you going so fast and not explaining properly the classes and functions that you are using. 3
  • @
    @dattarajmahajan8202العام الماضي when i am trying to hit "/token" from postman i am not getting anything.
    but when i hit "/welcome" it redirects to default id="hidden18" class="buttons"> login bootstrap page. where i use username = user and password generated by spring boot application and its works.
    But i am unable to generate the token. Any help would be appreciated. Thanks in advance
    ....وسعت 1
  • @
    @abhishekkishore8673العام الماضي SIr , Please make a video on updateded spring 3.03 version their are soo many changes in the application like WebSecurityConfigurerAdapter not supported in lattest version.please.
  • @
    @junkdabمنذ 3 سنوات bhai ye adddss bina skip ke achaa baa ni hai aapke channe pe
  • @
    @sahilkalanderia1325منذ 2 سنوات on get request it goes in infinite recurrsion
  • @
    @KaranKumar-ek2zkقبل 4 أشهر Hii Sir WebSecurityConfigurerAdapter is Depricated can you please tell us what is the new way to implement this
  • @
    @poojabodakhe5096منذ 3 سنوات Hello getting error as 401 unauthorized Similar to 403 Forbidden, but specifically for use when authentication is possible but has failed or not yet been id="hidden20" class="buttons"> provided. The response must include a WWW-Authenticate header field containing a challenge applicable to the requested resource.
    please give me the solution
    ....وسعت 1
  • @
    @amolwaghmare2866منذ 4 سنوات I have one query can you make spring boot app with Oracle 11g enterprise edition crud app I am not able to make connection jar is not loaded into maven local repo. Will you plz explain
  • @
    @yatri6329منذ 3 سنوات Sir log success hua to Baki k service call ho aisa kaise kre
  • @
    @aadiguru6382منذ 4 سنوات Durgesh bhai ise Database connectivity ke sath samjhao na pls mujhe iss par project krna hai 2
  • @
    @vishal_bhamareقبل 9 أشهر WebSecurityConfigurerAdapter --- gone now.. can't add it. tried downgrading but project stopped working. Any alternative for this ?
  • @
    @pallavimorkhade2058العام الماضي I need source code I have done payment , how I can download code now
  • @
    @tejastipre9787العام الماضي Refresh token ka implementation nai kiya
  • @
    @manjushanetragaonkar1043العام الماضي Security password generate nhi hua can any one answer this.??
  • @
    @umakantpatel854منذ 3 سنوات sir please git pe daal diya kare code
    please
  • @
    @sheikhgulammohammad8224منذ 3 سنوات Sir when I run this project I got forbidden error in postman after writing Bearer +token