OAuth without ASP.NET Identity
This is a subjective / design level question. I am implementing OAuth JWT authentication / authorization mechanism for my web api. I have my own user store which is held in a sql server database....
View ArticleUnable to proceed to Login via OpenID
Hello.I used this tutorial to create a ASP.NET MVC 5 App with Facebook, Twitter, LinkedIn and Google OAuth2 Sign-on.I created two apps, one on google, another on facebook. I think those parts are...
View ArticleUsing SessionSecurityToken written to Cookie is causing AJAX web service...
Good Morning,I have a POC application I'm writing that is using Claims Authentication / Authorization providers. It is using claims, as expected and I even have it working with the...
View ArticleMS Edge and Identity
I have created a site using MVC and Identity version 2.1.0. I have discovered a bug/security hole in MS Edge/IE on Windows 10 and need to know how to get around it. I have the site setup to allow an...
View ArticleFederationMetadata.xml tags generation
I'm building my FederationMetadata.xml using the great tool by Shawn Cicoria (http://stackoverflow.com/a/6535174/975520) and with some tweaks I'm near my correct solution.I need to...
View ArticleCreateUserWizard forcely login the newly created user
I have one admin page where admin can create another user. I am user CreateUserWizard for this purpose. There is one more CreateUserwizard on registration page but admin has another to create some...
View ArticleSolution for a big project
We are doing a solution for government of one of European countries. There will be around 20000 users. There will be roles and access based on logical criteriaWe have Web API (v4.0), Angular SPA client...
View ArticleHow to get user NT Name in client side
Hi,I need to get user NT Name from client side. I tried using ActiveXObject but its not working in all the browser. Do you have any other solution to get the NT Name from client side.Thanks...
View ArticleUsing OpenIdConnect for Office365 authentication after being redirected to...
I have an Web Application that I am authenticating to the Azure AD for Office 365 integration. Authenticating against Office365 account seems to work just fine, however when I am redirected...
View ArticleMembership error
Hi all,I develop an asp.net mvc project, and I want to use membership, I tried the membership in the web.config below:<membership...
View ArticleConverting JWT (json Web token) into key value pairs in WebAPi
I can access jwt inside my web api action by accessing it's Autorization Headerstring jwt=Request.Headers.Authorization.ToString(); string jwtArray = jwt.split('.');//Now i want to convert it's payload...
View Articleusing Gmail instead of SendGrid
hi ..I want to add reset password to my website as explained in the below link, but I would like to use SMTP (Gmail) instead of SendGrid. Any...
View ArticleHow to enable Password Recovery in ASP.NET Web Forms Site
Hi..I am using VS Express 2013 for web. I created a new website-ASP.NET Web Forms Site. I wonder how to enable Password Recovery. It is only available when creating a web project not a website. Please...
View ArticleTwitter and Facebook Re-Authentication
I'm using OAuth in my web app, and users can login with twitter and facebook.I want to add "switch twitter and facebook account" button, which actually clears the session and then invokes the...
View ArticleError after move to Windows 2012 R2 server
Hi,I have to identical websites with a custom made membership control based on the default ASP.NET membership components. I moved it to a new Windows 2012 R2 server. It is an exact copy of the old...
View ArticleAuthentication using Google API in asp.net identity
I have implemented external login using Google API.when I click on Google,it asks for username and password.After entering valid user name and password I am able to login into application.when I click...
View Articlemyscript.cmd cannot access network files from ASP.NET web handler
I have a web handler C# program that calls CreateProcessAsUser() using DuplicateTokenEX() to run a cmd.exe /c myscript.cmd using impersonation and delegation but it cannot access a file via a UNC...
View ArticlePasswordRecovery in creating a website not a project
Hi.. I am using VS Express 2013 for web. I created a new website-ASP.NET Web Forms Site. I wonder how to enable Password Recovery. It is only available when creating a web project not a website. I...
View ArticleLicensing for an offline intranet application
I am using Web Pages with .net 4.5. What I did so far.First install this library - https://nuget.org/packages/Portable.LicensingOr from Packet Manager ConsolePM> Install-Package...
View Article2 users using the app simultanously; info got crossed?
Hi,I'm working on a MVC3 app with c#, EF, razor. It also have some web forms code as well.We just hit an issue - 2 users are using the application simultanously, each logged in with their own...
View Article