ASP NET Web API token authentication

Поділитися
Вставка
  • Опубліковано 6 лют 2025

КОМЕНТАРІ • 89

  • @gt0703
    @gt0703 7 років тому +12

    Great work! These videos are awesome.

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  7 років тому +4

      Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful.
      I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you
      ua-cam.com/users/kudvenkatplaylists?view=1&sort=dd
      If you need DVDs or to download all the videos for offline viewing please visit
      www.pragimtech.com/kudvenkat_dvd.aspx
      Slides and Text Version of the videos can be found on my blog
      csharp-video-tutorials.blogspot.com
      Tips to effectively use my youtube channel.
      ua-cam.com/video/y780MwhY70s/v-deo.html
      If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel.
      ua-cam.com/users/kudvenkat
      If you like these videos, please click on the THUMBS UP button below the video.
      May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them.
      Good Luck
      Venkat

    • @sangeetavishwakarma9517
      @sangeetavishwakarma9517 4 роки тому

      Gr8 Work!
      What are the steps to implement OWIN in Web API ?

    • @sangeetavishwakarma9517
      @sangeetavishwakarma9517 4 роки тому

      Gr8 Work!
      What are the steps to implement OWIN in Web API? Which videos will help for OWIN implementation ?

  • @nageshajab7137
    @nageshajab7137 5 років тому

    Venkat you are life saver....

  • @bora.tarcan
    @bora.tarcan 8 років тому +10

    Hey Venkat, greetings from Turkey :) I learned a lot of things with you, thanks !

  • @weslyarfan8407
    @weslyarfan8407 5 років тому +11

    i cant find where u implement token authentication in your video. please show me.

  • @DobleSistemas
    @DobleSistemas 6 років тому

    I am very grateful with your videos I have learned a lot. I would love to ask you for a request to leave subtitles in English. I am a Mexican student who has not yet mastered listening to it. Thank you.

  • @knowledgemaster1840
    @knowledgemaster1840 3 роки тому

    I like your tutorials but also it would help if you also created some project-based tutorial your tutorials are recommended by many

  • @narendarsingh4672
    @narendarsingh4672 6 років тому

    Great Sir,I am grateful to you.

  • @monikaphalle9174
    @monikaphalle9174 3 роки тому

    Best video sir please create videos on netsuite suitescript

  • @health40plus
    @health40plus 7 років тому

    This is excellent video article well explained.

  • @chandusubhakarareddysatti3569
    @chandusubhakarareddysatti3569 3 роки тому +1

    Hi Thaks for the video, I have a couple of questions . can you please clarify this?
    1. I got a token from the server. I just passed it to someone to use this token. he could able to access the API with the token until it expires. How can we restrict this?
    2. I got a token from the server with an expiry time of 15 min. before 15 min I hit token controller and got another token with an expiry time of 15 min. Now I have two tokens with valid time. will the two tokens work? or only the latest one?
    if so how can we validate?

  • @babukumaresan3033
    @babukumaresan3033 5 років тому +2

    Please share video for Web API token authenticaion With oAuth with exsisting database with out Identity and how can explain better way of storing web api token in the client

  • @sangeetavishwakarma9517
    @sangeetavishwakarma9517 4 роки тому

    Gr8 Work!
    What are the steps to implement OWIN in Web API ?

  • @FunVideos_SB
    @FunVideos_SB 8 років тому

    Great videos sir, Thanks lot.

  • @SumitGupta-wr3jf
    @SumitGupta-wr3jf 5 років тому +1

    Is this best token based authentication for .net web api?can i use jwt with .net web api?

  • @gnakovaleryguhena2599
    @gnakovaleryguhena2599 8 років тому +6

    Please provide a tutorial series on xamarin

  • @MsRohit35
    @MsRohit35 4 роки тому +2

    Where have you implemented token based authentication?

  • @pravinpadwal9014
    @pravinpadwal9014 5 років тому

    sir I humble request you ur tutorial ver best but next tutorial contvert to hindi tutorial I waiting for hindi tutorial.

  • @jibinkoshy2739
    @jibinkoshy2739 8 років тому +4

    Hey Venkat . Great tutorial . Looking forward for remaining . Can you start a tutorial on Microsoft azure for developers

    • @kidszone706
      @kidszone706 7 років тому

      Sharepoint & Azure both

    • @kidszone706
      @kidszone706 7 років тому

      @Jibin Koshy : can you suggest me good SharePoint video tutorial

    • @jibinkoshy2739
      @jibinkoshy2739 6 років тому

      @@kidszone706 ua-cam.com/channels/bTVoDCaPM6wE0xsDGGr9VA.html , ua-cam.com/channels/7_OGRP8BYvtGB8eZdPG6Ng.html , ua-cam.com/channels/GIwZKWio310dymWzWo5-PA.html

  • @sachinsachan327
    @sachinsachan327 3 роки тому

    Thanks Sir, my question is where webapi stores the token in server side?

  • @priyankatripathi562
    @priyankatripathi562 7 років тому

    Awsome tutorials..:)

  • @EidSky
    @EidSky 6 років тому

    Mr. Venkat, on 2:41 you actually logged in, the Data.html page appeared then redirected to login page!!

  • @nehagbca
    @nehagbca 4 роки тому

    Sir please give a session on the log

  • @HussainHadiJee
    @HussainHadiJee 3 роки тому

    how to handle large api post/insert request from multiple clients simultaneously at same time ??
    any video tutorial highly appreciated

  • @tinkuv3321
    @tinkuv3321 5 років тому

    Should we check for valid credentials for every request user makes since webapi does not remember the previous request.

  • @SupunNimantha
    @SupunNimantha 4 роки тому +1

    "ASP NET Web API token authentication" - didn't talk about token authentication but just to add authorize attribute to the controller. Not what I expect. Misleading title

  • @shrutisahay216
    @shrutisahay216 4 роки тому

    Thank you so much sir

  • @Albshr77
    @Albshr77 8 років тому

    Very helpful, thank you

  • @arunvishwakarma711
    @arunvishwakarma711 4 роки тому +1

    Where is the token details passed i cant see in this video, can anybody tell me

  • @starhd1013
    @starhd1013 5 років тому

    great love for you

  • @bradleyr4451
    @bradleyr4451 6 років тому

    Hi Venkat, always enjoy and appreciate your great videos, thanks. On this one I noticed at around 7:49 you finish installing the EMPTY WebAPI, but then how will you have a View called Employees? You didnt add one and we didnt choose the version that adds them in or Im missing something?

    • @BattleandBeyond
      @BattleandBeyond Рік тому +1

      WebApi only returns JSON format, it does not return a View. I think you might have got confused with MVC.

    • @bradleyr4451
      @bradleyr4451 Рік тому

      @@BattleandBeyond thanks! I want to learn this,

  • @narendarsingh4672
    @narendarsingh4672 5 років тому

    great

  • @aniketkolte17
    @aniketkolte17 4 роки тому

    Please make a video on refresh token

  • @khasimmd7892
    @khasimmd7892 6 років тому

    i have 4 web applications of which one application caters to the users who are interested in "searching jobs" the other application caters to people who are interested in "ordering food online" and getting it delivered to their door steps. the other two applications have both "job search" and "ordering food online" as a category which user can choose from along with so many other categories like "posting advertisements" "laundry service" "vehicle breakdown" "flat rentals" etc. so you may be wondering why i have so many applications as i run different offers on different applications and that helps me grow my business as i have different vendors catering these sections. "MY QUESTION HERE IS" I DON'T WANT TO REPEAT THE BASE CODE FOR EVERY APPLICATION CAN I USE API'S TO FULFILL THIS KIND OF SCENARIO, ONE MORE SCENARIO IS I HAVE CLIENTS WHO WANTS TO HAVE SIMILAR APPLICATIONS PERSONALIZED FOR THEM SO IF I HAVE THE BASE CODE AS API'S IT WILL BE EASY FOR ME TO CATER THEM AS WELL. HOW SAFE ARE THE API'S AND PLEASE THROW SOME LIGHT ON THIS AND HELP ME BUILD THIS PLEASE.

  • @aled12
    @aled12 7 років тому

    Great! Thank you for this job!

  • @anantv10
    @anantv10 4 роки тому

    Hello ,
    Can we achieve below scenario
    I have to make single sign on. using JWT token, for example
    1 web api which is ued to authenticate user
    2 protected sites with different domain
    website 1 contains some link to website b
    if user logins on one application. and clicked on link which navigate user to website B or vice versa. then user need to enter the credential again.
    I dont want to use Azure.

  • @pichap0n
    @pichap0n 8 років тому

    Hi Venkat. Those of us still using Visual Studio 2012, how can we follow this example? The new application window is not the same (no "change authentication" button) and some classes are not provided in the startup project .

  • @GauravSharma-th5dh
    @GauravSharma-th5dh 5 років тому +1

    where is owin used in this tutorial?

  • @ernestomunera8235
    @ernestomunera8235 5 років тому

    Great !! and where is the Code in GitHub??

  • @abonady6747
    @abonady6747 5 років тому +1

    Hi
    kudvenkat, please I need help. Whenever I request the URI after adding [authorize] attribute, the project redirects me to login page.
    Please advise why did not your project redirect you to login page?

    • @its4zahoor
      @its4zahoor 5 років тому

      in his case the login route doesn't exist. and he is simply sending request in a addressbar of browser so all repsonse will appear as xml or json (whatever the defaultFormatter is).

  • @tinkuv3321
    @tinkuv3321 4 роки тому

    If we share the token to some one else. Can he login with our token. How do we restrict it.

  • @amitrawat1940
    @amitrawat1940 6 років тому

    Awesome..............

  • @User-Dotnet
    @User-Dotnet Рік тому

    If Interviewer ask how you implement Token based Authentication what I can say? Is just enough to say deaclare Authorize attribute on above the action method 🤔🤔?

  • @sqlguruji
    @sqlguruji 4 роки тому

    Hello Venkat, Need some help from you.
    I've enabled Cors in WebApiConfig.cs. I'm getting employee data in Angular 8 application. But for token method I'm getting Cors error. I tried same with simple application, I'm getting Cors error only for token method.

  • @kavithavishwanathen6778
    @kavithavishwanathen6778 8 років тому

    Thank you Sir !!!

  • @BlalKhalidTech
    @BlalKhalidTech 4 роки тому

    What is Refresh token and how to generate it?

  • @rajeshvishwakarma4943
    @rajeshvishwakarma4943 6 років тому

    Sir i want to implement Step by step Certificate based Authentication at Login time in my web api. in traditionally we used token based Authentication but now we use certificate based Authentication.
    Sir please help me..

  • @nirajbhanushali8884
    @nirajbhanushali8884 6 років тому

    Hi Sir, I have already created project and i want to implement this token based authentication. Please Help.. Thank You.

  • @krishnavankadari
    @krishnavankadari 7 років тому

    Thanks Sir!!

  • @sarveshm6779
    @sarveshm6779 7 років тому +2

    Thalaiva of dotnet

  • @kidszone706
    @kidszone706 7 років тому

    Venkat you are great ! Can you make video for SharePoint too.

  • @nandhinibaskaran7578
    @nandhinibaskaran7578 4 роки тому

    Hi sir,
    If we forget the password when we can retrieve?

  • @muhammadrehbarsheikh8498
    @muhammadrehbarsheikh8498 8 років тому

    thank you sir.

  • @Dilshan153
    @Dilshan153 4 роки тому

    Hi, when I click on individual user accounts a form pops up to connect to Azure AD

  • @prateekbhardwaj9943
    @prateekbhardwaj9943 7 років тому

    i m not able to see aspnetdb.mdf or any file in app_data even after show all file? please help

  • @santhoshzany1451
    @santhoshzany1451 3 роки тому

    Where is token based authentication in this video?

  • @raymondagbunag851
    @raymondagbunag851 7 років тому

    Please HELP! Hello Kudvenkat! I've been following your videos for a while now. Regarding this current video, how do I to start if I have an EXISTING project? I'm using VS 2017. Thanks in advance.

  • @raqibul1000
    @raqibul1000 8 років тому

    Thanks

  • @mfaizan24
    @mfaizan24 6 років тому

    venkat is there any way we can donate to you for your excellent work!

    • @swapna0810
      @swapna0810 6 років тому

      You can donate using the following link.
      www.pragimtech.com/support.aspx

  • @samitarai4449
    @samitarai4449 8 років тому +1

    awesome videos .can you please make some videos on SharePoint sir

  • @ytfilastu
    @ytfilastu 8 років тому

    gr8

  • @armasxu
    @armasxu 7 років тому

    you are f**king awesome mate

  • @shaziahussain3029
    @shaziahussain3029 7 років тому +3

    How to get token with in api controller post call?

  • @josephoyila6913
    @josephoyila6913 8 років тому

    i need help pls can anybody help me
    pls help me l want to installed sql but this error The following error has occurred: when trying to installed it , l search google the solution offer did not solve it Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.

  • @samanvivlogs9998
    @samanvivlogs9998 4 роки тому

    Exactly where token has stored..I know it's not in server..then where

  • @MrRufus311088
    @MrRufus311088 6 років тому +1

    why we again create the same controller and db, we already done all this things in previous lessons

  • @albasula216
    @albasula216 4 роки тому

    there were no token involved !!!!!!

  • @SoWhat07
    @SoWhat07 6 років тому

    Mismatched the title!!!

  • @remiduplan8449
    @remiduplan8449 6 років тому

    Sorry, but you seem not to be willing to go further on the [Authorize] .... I've done your tuto until the end. and when I put [Authorize] it's not working. (i ve create a web site asp.net mvc) that retrieve the data when [Authorize] is not there, but when I let it .. it's , of course telling me that I am not allowed). So how to manage the token authentification to the web Api, from an other client ? (what are the principes ? do you know a tuto about this ?) (do I have to create a token for every Client ? like in facebook and google does for there 'logWith' system ?). Thanks ! (otherwise I really appreciate everything you explained).

  • @sertunc-k5o
    @sertunc-k5o 8 років тому

    After the token is received, the person changes the password. The token is still used.is it a weakness?

  • @abdulhai_007
    @abdulhai_007 3 роки тому

    This is the only video of yours which is not relevant to title of the video.. where is token implementation?

  • @prasadgiri2673
    @prasadgiri2673 6 років тому

    Hello Sir can you plz explain token based authentication without using identity cause if i use it the application does not contains layered structure ,my db context is in web application instead of library,or please explain how to break down the identity to layered structure plz kindly revert back if possible

  • @jackzeelzadirgarciavalleci1457
    @jackzeelzadirgarciavalleci1457 6 років тому

    I like your videos. But this video the tittle dont match with the content of the video.

  • @thewonderer.world.3
    @thewonderer.world.3 3 роки тому

    Your heading of this video is misleading. This is no way token authentication. Please change heading.

  • @asdasdasdasdsadasas
    @asdasdasdasdsadasas 6 років тому

    You didn't show how to login through a REST client

  • @randomthings_07
    @randomthings_07 6 років тому

    hello sir , i have question like in an application can we have more than one login form and can we have more than one authentication token .. like one token form employee and another token for customer . please response asap or just provide me your mail id .

  • @ASouza-ut9kb
    @ASouza-ut9kb 6 років тому

    Great work! These videos are awesome.

  • @BlalKhalidTech
    @BlalKhalidTech 4 роки тому

    Please Make Video how to use Refesh Token?