ASP NET Web API logout

  Рет қаралды 103,610

kudvenkat

kudvenkat

Күн бұрын

Пікірлер: 28
@belmiris1371
@belmiris1371 2 жыл бұрын
I had a weird issue where Chrome kept using a cache of the Login.html page that wrote to the sessionStorage but used the new Data.html that read from the localStorage. Thank goodness for the 'view source' option. A CTRL + F5 solved the issue after I went down several rabbit holes. Thank you for these great videos!
@martenhc
@martenhc 8 жыл бұрын
Hello Venkat, great video as always. I was wondering, why not using cookies to store the token? Does localstorage have any advantage over cookies?
@shivasanika3762
@shivasanika3762 8 жыл бұрын
Hi sir, Would like to clarify some doubts below. 1) How if I want to delete token from the server? 2) or how to modify the validity of token by clicking some button on UI? 3) Where is the actual point (code) of the verification is happening at server side? How the server us validating the token is correct or not and validated or not?
@hitenmaisuriya8212
@hitenmaisuriya8212 6 жыл бұрын
yes i want to know this also
@yasirirfan5262
@yasirirfan5262 3 жыл бұрын
Did you get your answer? I want the answer of your question.
@belmiris1371
@belmiris1371 2 жыл бұрын
@@yasirirfan5262 1) I don't think the token is stored on the server. The server just decrypts it and gets the information stored there (user, etc...). 2) The client should never validate the token. The token is handled by the server. 3) He shows in an earlier video that the ApplicationOAuthProvider.cs class handles looking up the user. You can see it in the code.
@ramchandrathakkar2022
@ramchandrathakkar2022 8 жыл бұрын
very much informative.
@smf6765
@smf6765 4 жыл бұрын
localStorage doesn't work in Chrome for me.
@Umer171
@Umer171 6 жыл бұрын
What if someone get access-token from over session storage and he can expose our data on fiddler so how can we manually expire over token or forcefully expire ?
@mohdali8246
@mohdali8246 7 жыл бұрын
Hello Venkat Sir, Are you going to upload recover password in Web Api. Thanks for all your help with .Net videos.
@amsuprith
@amsuprith 8 жыл бұрын
Hi Venkat thanks for great tutorials Is user name and passwords are passed as the plain text to server in the demo?. If that is the case is it not easy for a hacker to get hold of them and use for generating the token? . Please advise.
@caidengrant1101
@caidengrant1101 3 жыл бұрын
i guess Im randomly asking but does anyone know a way to get back into an instagram account..? I stupidly lost my login password. I appreciate any help you can offer me.
@vinayakachikodi7082
@vinayakachikodi7082 3 жыл бұрын
Is there way to check accessToken is valid or not. Because, if we are checking whether accessToken is not null, then user can add accessToken with any string value key in local or session storage from inspect mode.
@helriper27hr
@helriper27hr 6 жыл бұрын
Excellent!
@garys3673
@garys3673 8 жыл бұрын
I really want to know what's the difference between the "bearer" and "basic" authentication, is the "bearer" more secure?? And I hope you could made some more videos about OData on Web API to enrich this video series. Big Thank!!
@ShivamAggarwal22
@ShivamAggarwal22 7 жыл бұрын
With bearer authentication, you don't send a username/password combination with every request. If someone is snooping, they will get only the authentication token which will expire after some time. They can not get permanent access to your account. They can't reset your password either. That's because your previous password is required to set a new Password. Or at least you need something else, other than the temporary authentication token.
@James-e4p2o
@James-e4p2o 7 жыл бұрын
The only code preventing the user from logout is javascript, is it possible to see the page if you disable javascript?
@alaaabdelfattah3126
@alaaabdelfattah3126 6 жыл бұрын
thanks lot my pro
@raghavendraraop6250
@raghavendraraop6250 6 жыл бұрын
Hello venkat, want to do some action at server when token expires. could you please tell how to achieve this
@ronchennai
@ronchennai 8 жыл бұрын
Thanks Venkat.
@vothuong08
@vothuong08 5 жыл бұрын
Hi Sir , What if user turn local storage off ?
@mahmoudraslan8273
@mahmoudraslan8273 4 жыл бұрын
I have a problem although using localStorage it is redirecting to the login page
@ahmettachmuradov8630
@ahmettachmuradov8630 4 жыл бұрын
same happened to me, but I tried it in different browser and it worked. But for some unknown reason it is not working on chrome
@michaelhuggler7673
@michaelhuggler7673 6 жыл бұрын
Does anybody know why this does not work in Chrome, but it does in other browsers?
@muhammadrehbarsheikh8498
@muhammadrehbarsheikh8498 8 жыл бұрын
Thanks sir.
@pmburu0
@pmburu0 7 жыл бұрын
Thank you
@mohamedelfeky9832
@mohamedelfeky9832 4 жыл бұрын
Please i need video to how to change password
How to get authenticated user identity name in asp net web api
8:01
Caleb Pressley Shows TSA How It’s Done
0:28
Barstool Sports
Рет қаралды 60 МЛН
Ful Video ☝🏻☝🏻☝🏻
1:01
Arkeolog
Рет қаралды 14 МЛН
#behindthescenes @CrissaJackson
0:11
Happy Kelli
Рет қаралды 27 МЛН
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 316 М.
Implementing basic authentication in ASP NET Web API
19:17
kudvenkat
Рет қаралды 427 М.
Web API CRUD Operations Using Asp Net MVC and Entity Framework
45:55
Asp.Net Core AUTHORIZATION Made EASY
19:13
Codewrinkles
Рет қаралды 10 М.
Refresh Tokens - BUILD A JWT AUTHENTICATION SERVER (ASP.NET CORE) #3
21:24
ASP NET Web API login page
10:34
kudvenkat
Рет қаралды 224 М.
Caleb Pressley Shows TSA How It’s Done
0:28
Barstool Sports
Рет қаралды 60 МЛН