tagged [forms-authentication]
ASP.NET MVC: Relationship between MembershipUser, Identity, MembershipProvider and Principal
ASP.NET MVC: Relationship between MembershipUser, Identity, MembershipProvider and Principal I need some functionality in an ASP.NET MVC application and after doing some research, I feel that I have t...
- Modified
- 24 Jan at 19:57
ASP.NET MVC Forms authentication against external web service
ASP.NET MVC Forms authentication against external web service I am trying to write an ASP.NET MVC application which is a frontend to our CRM which has a SOAP web service. I would like the user to log ...
- Modified
- 12 Apr at 09:33
ASP.NET Identity Cookie across subdomains
ASP.NET Identity Cookie across subdomains For forms authentication I used this in web.config (note the domain attribute): How is a single sign-on across subdomains configured for the new ASP.NET Ident...
- Modified
- 14 Oct at 21:19
Maximum Length of FormsAuthenticationTicket.UserData Property
Maximum Length of FormsAuthenticationTicket.UserData Property I am implementing a Custom Identity class for an ASP.Net 4.0 site with Forms Authentication based on this tutorial: [Forms Authentication ...
- Modified
- 8 Sep at 06:41
How to get the cookie value in asp.net website
How to get the cookie value in asp.net website I am creating a cookie and storing the value of username after succesfull login. How can I access the cookie when the website is opened. If the cookie ex...
- Modified
- 18 Dec at 21:7
ServiceStack API documentation in Swagger-UI behind the closed doors
ServiceStack API documentation in Swagger-UI behind the closed doors I want to allow access to swagger-ui and metadata only if user is authenticated (forms auth) on our web app, but I want to allow AP...
- Modified
- 13 Aug at 17:15
In ELMAH with MVC 3, How can I hide sensitive form data from the error log?
In ELMAH with MVC 3, How can I hide sensitive form data from the error log? Here is the scenario... User types his username. Types an "incorrect" password. Both username and password values are being ...
- Modified
- 8 Jul at 17:53
Difference between FormsAuthentication Microst.AspNet.Identity.Owin.SignInManager.to authenticate
Difference between FormsAuthentication Microst.AspNet.Identity.Owin.SignInManager.to authenticate The default Project template of ASP.NET MVC comes with a class named Microst.AspNet.Identity.Owin.Sign...
- Modified
- 9 Aug at 05:36
How do you keep a user logged in with a popup window?
How do you keep a user logged in with a popup window? I have an application that requires the user to reenter their password between 15 and 30 minutes of inactivity to allow them to carry on with what...
- Modified
- 14 May at 15:46
How to force logout user when his/her username is changed by another user?
How to force logout user when his/her username is changed by another user? In my application I am using Forms-Authentication to sign in and sign out users. One functionality is admin can change the us...
- Modified
- 12 Sep at 17:32
How do I filter nodes of TreeView and Menu controls with sitemap data sources based on user permissions?
How do I filter nodes of TreeView and Menu controls with sitemap data sources based on user permissions? I'm using the [ASP.NET Login Controls](http://msdn.microsoft.com/en-us/library/ms178329.aspx) a...
- Modified
- 23 May at 12:10
MVC4 / IIS / Forms Authentication SSO issue
MVC4 / IIS / Forms Authentication SSO issue I’ve got a weird intermittent issue with MVC4 / IIS / Forms Authentication. I’ve got a pair of sites that pass control to each other using SSO. Most of the ...
- Modified
- 11 Apr at 14:18
Persistent ServiceStack Authentication from MVC 4 Forms Authentication
Persistent ServiceStack Authentication from MVC 4 Forms Authentication I've set up a ServiceStack api with a custom auth provider. This all works fine and I can authenticate and use the api as I like....
- Modified
- 18 Jul at 13:13
How do I best handle role based permissions using Forms Authentication on my ASP.NET web application?
How do I best handle role based permissions using Forms Authentication on my ASP.NET web application? I'm using the [ASP.NET Login Controls](http://msdn.microsoft.com/en-us/library/ms178329.aspx) and ...
- Modified
- 23 May at 12:19
AuthenticateRequest event
AuthenticateRequest event Q 1. To my understanding `FormsAuthenticationModule` is subscribed to `AuthenticateRequest` event, and thus only after this event is fired, is `FormsAuthenticationModule` cal...
- Modified
- 10 Jul at 10:59
How to use ServiceStack authentication correctly in ASP.Net MVC controller
How to use ServiceStack authentication correctly in ASP.Net MVC controller I'm having problem with getting ServiceStack [Authentication] attribute to work in ASP.Net MVC4 controller, pages / action me...
- Modified
- 23 Aug at 07:13
Is (HttpContext.Current.User != null) enough to assume that FormsAuthentication has authenticated the user
Is (HttpContext.Current.User != null) enough to assume that FormsAuthentication has authenticated the user In an ASP.NET (2.0) application I use FormsAuthentication. In the Global.asax / Application_A...
- Modified
- 9 Oct at 22:1
ServiceStack with forms authentication across applications fails...why?
ServiceStack with forms authentication across applications fails...why? I have a ServiceStack project running an API at api.mydomain.com. An admin project in the same solution is hosted at admin.mydom...
- Modified
- 16 Aug at 18:57
MVC6 Decrypting a forms authentication cookie from another website
MVC6 Decrypting a forms authentication cookie from another website I have a webforms website that is calling into a new MVC6 website that we are working on. The user will login as they always have don...
- Modified
- 14 Dec at 13:52
Is this the correct way of populating user's roles using ServiceStack to a custom IPrincipal for autowired authorization in Forms Authentication
Is this the correct way of populating user's roles using ServiceStack to a custom IPrincipal for autowired authorization in Forms Authentication I'm using Servicestack for the middle tier logic/web se...
- Modified
- 2 Mar at 08:17
Changes to cookie domain for outgoing responses ignored for ServiceStack requests
Changes to cookie domain for outgoing responses ignored for ServiceStack requests I have a multi-tenant website (e.g. several different sites, each with it's own domain, all in the same project, separ...
- Modified
- 12 May at 09:53
FormsAuthentication object obsolete [using MVC5]
FormsAuthentication object obsolete [using MVC5] I'm using the following code in an MVC5 site: ``` [HttpPost] [ValidateAntiForgeryToken] public ActionResult Login(LoginModel loginModel) { if (ModelS...
- Modified
- 11 Jan at 11:46
Forms Authentication understanding context.user.identity
Forms Authentication understanding context.user.identity Since documentation on this process is very vague and confusing (or old), I wanted to verify that I was doing it correctly and not missing any ...
- Modified
- 11 Jan at 22:5
Asp.net randomly stops obeying forms authentication whitelist
Asp.net randomly stops obeying forms authentication whitelist ## The problem Last month we move our asp.net website farm from Server 2008 R2 to Server 2012 R2 and upgraded to asp.net 4.5. We are using...
- Modified
- 9 Apr at 15:32
ASP.NET Identity - Custom Implementation with Multi-Provider
ASP.NET Identity - Custom Implementation with Multi-Provider I'm currently working on a big project for car dealers and I have a dilemma. I need to be able to login via 2 providers. First, the user is...
- Modified
- 23 Jul at 19:13