How many different type of authentications exist in asp.net or web api project
i am only familiar with form authentication. beside form authentication tell me list of names of other authentication scheme for asp.net or web api project.now identity is used for authentication....
View ArticleResetPasswordAsync always failing with invalid token
Hello,I am pulling my hair out. I have stubble left.ResetPasswordAsync in my UserManager<User, Guid> is failing consistently for this reason.I have tried everything StackOverflow revealed,...
View ArticleBest way to get user login from LDAP
We have a ldap and active directory for our windows ten domain, I need to be able to let users either<div>Login with their username and password that they use for their pc each morning or Allow...
View ArticleCustom UserManager and Custom UserStore
How can I get my custom UserManager to use my Custom UserStore? Right now the UserManager is used the default CreateAsync, and I want it to use the CreateAsync I have in my UserStore. Do I have to...
View ArticleSchema specified is not valid. Error.
As per picture mentioned error during access Entity Framework tables in data source. I've built the Microsoft.AspNet.Providers -version 1.2 from nuget console and try insert tables...
View ArticleiisClientCertificateMappingAuthentication without any user mapping
Hi All,I am planning to use IIS Client Certificates authentication to authenticate clients. So, client is going to send certificate, and IIS supposed to validate the certificate and allow the client...
View Articlerequest new login at new session
Hi..I have login with owin and claims....i need that when user reopen my app after close navigator request login(actually app is keeping autentication :( ...)..how i can disable this implicit option...
View ArticleCould not load file or assembly 'Microsoft.Owin.Security' or one of its...
when i run my project i get error Could not load file or assembly 'Microsoft.Owin.Security' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057...
View ArticleDuplicate UserNames
My app checks for a unique UserName and Email Address upon registration.Recently, a new user registered. For some reason, StageName did not get picked up from dim username as string = StageName.txt....
View ArticleHow to throw a valid usefule message when security token expires.
I am using Owin authentication with JWT tokens. My application is webapi, with ui in angularJs. Right now, when the token expires I get 401, unauthorized. I am showing the message "Un authorized" from...
View ArticleWhat is difference between form authentication and claim authentication
i am familiar with form auth. so tell me how claim authentication is different than form auth ?discuss with example for clarity. thanks
View ArticleCan an Indentity-Owin type protected View be relaxed to survive an offline...
.. again please excuse if dumb q :) I'm not an Owin nor mvc expert or nuttin.. And not fully understand and may not be Owin related.----------Question: Can an Indentity-Owin type protected View be...
View ArticleWhat is relation between identity and cliam authentication
anyone can explain what is relation between identity and claim authentication with example.i found below one Claims Based ASP.NET Identity supports claims-based authentication, where the user’s...
View ArticlePersisting user cookie
I want to create user preferences cookies and persist them even after user session expires. In the cookie, I will store things like some of user preferences, their avatar URLs, etc. I want these...
View ArticleIs there any difference between access and bearer token ?
give me idea about access and bearer token. both are same or totally different. if they are different then discuss about what is access and bearer token and how they use in real life system. thanks
View ArticleConfirm Email problem with token, valid time for code
Dear AllI have very strange problem with Identity 2.0, during creating new user is genereting email confirm link, when I try use email link after short time everything is fine but when I try use email...
View ArticleRestrict users - windows authentication
Hi,I have a website which uses Windows Authentication. I need to restrict access to only a few users, who are present in a local database. How can I achieve it? For example, my database has...
View ArticleMembership Password Strength Regular Expression Property
Could somebody examine the cited expression on microsoft site, it keeps giving me error every time i past it!<membership defaultProvider="SqlProvider" userIsOnlineTimeWindow =...
View ArticleJson Web Token (JWT) SSL?
Split off from http://forums.asp.net/t/2087872.aspx?What+is+Json+Web+Token+JWT+I heard that JSON Web Tokens (jwt) does not go well with https or ssl. is true ?how to over come this problem if anyone...
View ArticleAdd claims on successful login and retrieve it elsewhere in the application
Hello,I have a little problem with claims with asp web api authentication, I have the default authentication with asp web api with this code: public override async Task...
View Article