How the Access_Token (Bearer) Validation done for 3rd Party Authentication -...
I've recently done some testing in OAuth2.0 Authentication-Password Grant. I can able to successfully create an Access_token from my AuthorizationServerand can able to access my API with that...
View ArticleCAC Authentication
Dear All,I know this might have been asked a lot of times. But I have researched a lot and have failed to achive what I want.What I want:User clicked a button on webpage "Login using Smart Card" An...
View Articlecant login to asp.net application after browser close and open on IIS server
I have web application that uses hash login and stored in SQL table. I then deployed it on IIS server on 2008 R2. I can access the application and login fine but when I close browser and try to login...
View Articleauth-callback return HTTP Error 404.0 - Not Found using angular2 and...
Hi, I try to use angular2 and identityServer4 but after login , a got a HTTP Error 404.0 - Not Found (The resource you are looking for has been removed, had its name changed, or is temporarily...
View ArticleAssembly Reference Missing - AddMvc() and Authorize - "Policy" attribute
Hi All,I am trying to implement "Policy" based authorization in my application. I am using VS 2017 Asp.net MVC and using template Asp.Net Web Application (.Net framework).1. I am getting error message...
View ArticleForm-based authentication - no redirection to login page
Hello,I found this simple example that shows form-based authentication and it works for me. When trying to open Home.aspx, the browser is redirected to Login.aspx first.Here is the corresponding...
View ArticleOWIN ADFS 2.1 Forms Authentication autofill username
We have a MVC application that authenticates users through forms authentication. Now we were able to add SSO authentication through ADFS 2.1 forms authentication.When a user fills the application...
View ArticleTLS 1.2 protocol with .net framework 3.5
Hi all, <br><br> 1. If host server has framework 4.5 installed on Windows 2000 R2, can we run website built in 3.5 or 4.0 framework without any code change.<br> 2. Is there any work...
View ArticleHow to Configure Web App on IIS for Google Auth
I have an app that does Google Auth. It works fine on local host, but I'm not sure how to configure Authentication for deploying to an IIS box for UATWhich Authentication Otions do I need to have...
View ArticleEncryption and Decryption of Data
We have developed an application asp.net mvc with SQL server 2016 in place which uses1 unit of work and entity framework while communicating with database, currently all CRUDE operations on UI are...
View ArticleIs it possible to configure the website for Windows Authentication and for...
What are the statements needed to write on the Web.config file, so the website become capable to:- Allow the Windows Authentication, so we can detect the current Windows user by the statement:Dim...
View ArticleWhat is the difference between server side and client side certificate
i have seen when people host their web api in iis then people attach server side certificate and some time seen when people call web api from console or windows apps then they attach client side...
View ArticleUsing Login Password as Signature on other forms
I am using the default ASP email and password login strategy and would like to have the user enter in the password to verify that they are still in front of the keyboard when approving information on a...
View Articlehow to call https from http
hello, Recently we have implemented https. now users are still using http though we have informed , so we decided to implement some thing like url rewriting, so that user can use http://abc.com...
View ArticleBest way to save extended ApplicationUser with new properties added (ASPNET...
The project template for Visual Studio, at the time of this writing, includes a UserManager with extension methods such as SetPhoneNumberAsync.I've added a few new fields to ApplicationUser (Identity...
View ArticleRun PS script via ASP.NET page
Hi guys,I've just written an ASP.NET app that run a PS script in order to create new AD user accounts. The web server (IIS 7.0) is running on a Win2008R2 server (not domain controller) joined to the...
View ArticleRepeated Login Screen (Windows Authentication)
I'm using windows authentication IIS v8.5 Windows Server 2012 R2 ASP.NET 4.5Providers 1. negotiate 2.NTLM Extended Protection: off Kernel Mode EnabledMy problem is the page shows repeated login screen...
View ArticleReset Password works in debug but not when deployed
I have an application developed in Visual Studio 2015. I am trying to add functionality to the application to allow a user to reset their password. The application sends the user an email with a link...
View ArticleSecurity Group problem - will not use sub security groups on AD
Hi guys, I'm using the ASP.NET Role Manager which is working nicely. However, I want to limit the scope of folks who can access it to a smaller group. Here is what the c# code looks like: if...
View ArticleASP.NET Web API, ADFS and OAuth2
Hi!I trying to secure an ASP.NET 4.61 Web API with ADFS 3.0 and OAuth2. The Web API is places behind a Web Application Proxy (WAP) configured with pre-auth, claims aware and OAuth2. With my bearer...
View Article