Web api bearer token example

  Рет қаралды 207,190

kudvenkat

kudvenkat

Күн бұрын

Пікірлер
@Lolitalein
@Lolitalein 6 жыл бұрын
Thank you! Thank you! Thank you! Your videos are a massive help for my university project. With your guidance I was able to get everything working Greetings from Germany
@chuze31
@chuze31 8 жыл бұрын
THANK YOU PRAGIM, You are doing your best and helping i mean Teaching Many of us, how to programming. In my Language i say: MUITO OBRIGADO
@manoj081182
@manoj081182 3 жыл бұрын
Nice lessons provided by you in different concepts, keep going and help us as usual, Big Thank you!
@turhansaltas9284
@turhansaltas9284 5 жыл бұрын
kudvenkat dear my brother you are the best. greeting from turkey
@ymtan
@ymtan 4 жыл бұрын
Superb video with succinct explanation.
@kisanrathod9488
@kisanrathod9488 4 жыл бұрын
Yeah..Yo videos is great sir..4 moving 4ward..in d career life. . Bt, Nt looking d clearly videos in Android mobile sir.
@rajeshnaik5148
@rajeshnaik5148 7 жыл бұрын
I like your tutorials very much, nice job
@nelsonrivers8546
@nelsonrivers8546 2 жыл бұрын
Great video. Thank you.l
@conaxlearn8566
@conaxlearn8566 3 жыл бұрын
11:47 I thought it should be tblBody and not tblData. But I found that both of them will put the rows inside tbody. jQuery magic!
@narayananmankore
@narayananmankore 8 жыл бұрын
Hello, My understanding on Web API is that its stateless http protocol. But here we do use sessionStorage to use / identify sessions. Is it violating RESTFUL service principles ? Can you please clarify ? If my question is irrelevant please ignore.
@MrJonnis13
@MrJonnis13 7 жыл бұрын
The word "thank you" is very little compared to what you offer to all of us. Can anyone please tell in which table is stored the Bearer token in the server side, and is able to authenticate the client ? Thank you very much in advance.
@arthurn7952
@arthurn7952 8 жыл бұрын
Hi, great video as always. Please continue with web api. Can you make a video using JWT (JSON web token) between client and server. Thanks!
@abdirahmanmohamud5855
@abdirahmanmohamud5855 5 жыл бұрын
please sir i need refresh token demo thanks you are more helpful
@hk_build
@hk_build 6 жыл бұрын
how server validates user token for particular user for 2nd request ...where token will be saved in server..?
@ksksai
@ksksai 3 жыл бұрын
Token wont be saved at server side but did you able to figure it out how Token is getting validated at server side on second request ?
@hk_build
@hk_build 3 жыл бұрын
@@ksksai if client is sending token how server will come to know its same client there has to be validation right... by the way am UI dev ...so not much into server side let me know if you know ...
@haseebjeelaniify
@haseebjeelaniify 6 жыл бұрын
I have been running this example with visual studio 2015 community edition but token request has been working fine with Fiddler and when using access_token with other request like employee Get method it has been working with Fiddler but when calling as per given example it shows error. Can someone help me out in resolving this issue.
@malayaprasadlenka9088
@malayaprasadlenka9088 3 жыл бұрын
How the token value is differentiated from user, can 2 user from 2 different machine pass the same token in the Authorization header for calling 1 api?
@kirandhere6075
@kirandhere6075 8 жыл бұрын
Plzz make C C++ Programming Tutorials You're tutorial so nice easy to understand....
@srinimorapaka
@srinimorapaka 5 жыл бұрын
it was excellent
@vijaybhatt143
@vijaybhatt143 5 жыл бұрын
Thank you for the video but in last you forgot to tell to remove authorized from controller. I was getting unauthorized error..
@Andrei01001
@Andrei01001 4 жыл бұрын
You should not remove authorized. If you are getting 401 error make sure that you have space after to Bearer (inside the string)
@alaaabdelfattah3126
@alaaabdelfattah3126 6 жыл бұрын
thanks alot my pro
@Chintanpanchalprime
@Chintanpanchalprime 8 жыл бұрын
Hello, can you please tell us how to upload multiple file using web api.
@sivaprakas9828
@sivaprakas9828 7 жыл бұрын
have you find the answer? please share with us.
@vijaysahuhrd
@vijaysahuhrd 6 жыл бұрын
NIce Video.. Can we you please make a video of bearer token with .NET CORE
@velkumars26
@velkumars26 8 жыл бұрын
Hi, How do refresh my token on every request. For Instance. In my API i have set expired token as 5 mins for an example, even though I'm using my web page continuously without being idle my token will be expired after 5 mins. How do we resolve this, meaning how do i refresh token on every request or is there any way to handle this?
@sayedmd.atiqurrahman1760
@sayedmd.atiqurrahman1760 7 жыл бұрын
Hi, I made a separate location for the JS file and then added location in BundleConfig.cs. Now, If I reload data.html page and set a breakpoint at " if (sessionStorage.getItem('accessToken') == null) { window.location.href = "Login.html"; }", the step passes this condition for infinity times and as a result login page also refreshes infinity times. Could you please let me know the reason?
@zeeshanahmad-bn8dc
@zeeshanahmad-bn8dc 6 жыл бұрын
i got same issue how did you resolve it.
@jameswillson7130
@jameswillson7130 8 жыл бұрын
The gender pay gap is real at kudvenkat industries
@testpayman3446
@testpayman3446 6 жыл бұрын
Why does that bother everyone so much? The pay gap may be due to the positions and experience they hold.
@chiraggupta7063
@chiraggupta7063 4 жыл бұрын
Hello Sir, Actually I have written the same code but still i am getting error message on data.html page i also tried to access this page after login but again facing same issue even i checked the value of access Token it was same Please help me to resolve this issue
@albelarmino6814
@albelarmino6814 8 жыл бұрын
Thanks Dude. :)
@saleemabbas156
@saleemabbas156 7 жыл бұрын
Sir please tell me how to decorate the EmployeeContrioler GET method for this video which you retrive data from the controler username and password ( part 25 )
@itstar8235
@itstar8235 6 жыл бұрын
Respected Sir, it working fine but how to send token when requesting from MVC Controller to API Controller ? Without Using Ajax
@cheonnismail3693
@cheonnismail3693 5 жыл бұрын
Is this code same for asp.net core?
@learnbasic8620
@learnbasic8620 6 жыл бұрын
I logged in with the credentials and when I clicked on LoadEmployees button why it says {"Message":"Authorization has been denied for this request."}
@subhashpandey6035
@subhashpandey6035 5 жыл бұрын
var token = sessionStorage.getItem('accessToken'); var headers = {}; if (token) { headers.Authorization = 'Bearer ' + token; } $('#btnLoadHospital').click(function () { $.ajax({ url: '/api/HospitalUser', method: 'GET', headers: headers, success: function (data) {
@hasangalakdinu
@hasangalakdinu 5 жыл бұрын
you should consider in Authorization Header 'Bearer ',you should keep a space 'Bearer ' not 'Bearer'
@buzzkillbuddy4532
@buzzkillbuddy4532 4 жыл бұрын
@@subhashpandey6035 VERY helpful, thank you so much.
@AsadujjamanShohan
@AsadujjamanShohan 5 жыл бұрын
I am facing a problem which is not related to this topic. Actually, I was trying to host this Web API service on the IIS. I can access Login.html, Registration.html, Data.html pages from debugging mode. But after adding this service (publish) on the IIS I could not access those pages, it appears as a blank page. In browser console it's showing me this error message "Unchecked runtime.lastError: Could not establish the connection. Receiving end does not exist.". Does anyone know this issue or what I am doing wrong here? Thanks in advance.
@AliHassanLearnMVC
@AliHassanLearnMVC 8 жыл бұрын
when i logged in i click on load employees and modal popups your session expired please login again ...and it came back to login page ...i have properly check timespan.fromseconds(10)...but dont know why it is happening... Please Help me...anyone....
@dioseb
@dioseb 8 жыл бұрын
I have the same error, did you solve it ?
@AliHassanLearnMVC
@AliHassanLearnMVC 8 жыл бұрын
No ....i have finally left this...and move to next video series....may be you may help me...please let me know if you finally done this...thnx in advance
@AliHassanLearnMVC
@AliHassanLearnMVC 8 жыл бұрын
Sorry ! Not Yet
@harshitachambhare4542
@harshitachambhare4542 7 жыл бұрын
I have same error wasted 2-3 hours couldnt find solution :-( let me know if you find the solution
@harshitachambhare4542
@harshitachambhare4542 7 жыл бұрын
Hi again, when I used localStorage instead of sessionStorage it worked
@ksksai
@ksksai 3 жыл бұрын
Hi all, Please anyone let me know how the Token is getting validated at server side when we click on Load Employee button ?
@KuldeepKumar-nk2jo
@KuldeepKumar-nk2jo 5 жыл бұрын
how to generate "Refresh token" and "Access Token" ?
@danishhabib3495
@danishhabib3495 5 жыл бұрын
it is headers not header that might be your mistake :)
@ankitasrivastava1286
@ankitasrivastava1286 3 жыл бұрын
can u provide the whole code, it is little bit confusing?
@raqibul1000
@raqibul1000 8 жыл бұрын
THANKS THANKS THANKS
@ytfilastu
@ytfilastu 8 жыл бұрын
gr8
@kisanrathod9488
@kisanrathod9488 4 жыл бұрын
Hello..sir, Yo videos r nt displaying clearly.
@Albshr77
@Albshr77 8 жыл бұрын
Thank you sir
ASP NET Web API logout
6:54
kudvenkat
Рет қаралды 103 М.
Coding Short: Using Bearer Tokens in .NET 8 Identity
14:31
Shawn Wildermuth
Рет қаралды 30 М.
#behindthescenes @CrissaJackson
0:11
Happy Kelli
Рет қаралды 27 МЛН
Ful Video ☝🏻☝🏻☝🏻
1:01
Arkeolog
Рет қаралды 14 МЛН
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН
ASP NET Web API enable HTTPS
13:49
kudvenkat
Рет қаралды 181 М.
Secure a .NET Core API with Bearer Authentication
1:06:56
Les Jackson
Рет қаралды 191 М.
Session Vs JWT: The Differences You May Not Know!
7:00
ByteByteGo
Рет қаралды 316 М.
oAuth for Beginners - How oauth authentication🔒 works ?
10:43
Using asp net identity with Web API
7:36
kudvenkat
Рет қаралды 238 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 302 М.
#behindthescenes @CrissaJackson
0:11
Happy Kelli
Рет қаралды 27 МЛН