Forms Authentication is a built-in and extensible system for authenticating users in an ASP.Net application that also maintains that authenticated session via a ticket (often stored as a cookie or query string parameter).

learn more… | top users | synonyms

4
votes
0answers
641 views

Mixed Mode Federated authentication and Forms Authentication

I am trying to make a mixed mode authentication to be able to put some users on Federated authentications and others on Forms authentication. I am working with WIF, I set up my STS and everything is ...
2
votes
0answers
324 views

Passing SessionSecurityToken between client and wcf services

I have a problem with communication between client and wcf service application using federatedauthentication. On my client application (ASP.NET MVC with Forms authentication) I pass the user data ...
2
votes
0answers
197 views

How can I configure site Authorization for an MVC site with Web Forms components?

I have an MVC site where I need to use the ReportViewer control to integrate with SSRS. This means I need to have a Web Forms page within the site specifically for dealing with reports. Thankfully ...
2
votes
0answers
164 views

Communication Active Directory users with asp.net

I installed VM player in my machine and installed windows 2008 standard core inside. Also via command prompt added users and groups for a particular user as below, creating user dsadd user ...
2
votes
0answers
794 views

How to share ASP.NET Authorization cookies between DotNetNuke 7 and non DotNetNuke 7 sites?

We are building a ASP.NET MVC 4 website that will display information specific to the DotNetNuke logged in user. In order to accomplish this we are setting up the machine keys in the web.config to be ...
2
votes
0answers
419 views

MVC4 Forms Authentication Custom Identity Cast not working

I have implemented openAuth forms authentication in mvc almost same as on this page http://www.strathweb.com/2012/08/adding-openid-authentication-to-your-asp-net-mvc-4-application/ However I am ...
2
votes
0answers
264 views

Using RestSharp (or any JSON Post) to Asp.Net Membership JsonResult return (MVC)

From a browser, I can call an MVC controller like ../Account/Login with post parameters username and password and the browser plants a cookie such that on subsequent calls I do not need to pass in ...
2
votes
0answers
229 views

sharepoint mysite authentication

I have created mysite and two other sites as 3 different web applications in my sharepoint server like http://site1.sp.com:45 - site 1 http://site2.sp.com:45 - site 2 http://mysite.sp.com:45 - ...
2
votes
0answers
171 views

Chrome:cookie removed when user leaves page

I have an ASP.NET MVC1 site where the user is logged in. He is logged in because he has a cookie ".ASPXAUTH" with a token value in it. For payments the Users gets redirected to a payment provider. He ...
2
votes
0answers
263 views

make asp.net formsauth cookie smaller with base64 encoding

I am utilizing built in FormsAuthentication with an asp.net web app right now and I am adding a bit of additional information in the cookie and it is resulting in a "reasonably" large cookie size of ...
2
votes
0answers
272 views

.NET FormsAuthentication issue with load balanced servers running IIS 7 and using cookies

I have a pair of load balanced web servers running a .NET 3.5 / MVC 2 application. We are using Forms Authentication with cookies. When a user is kicked off to the second server, ...
2
votes
0answers
353 views

Forms authentication “Remember me” does not remembering me

I'm doing this: FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(1, model.UserName, DateTime.Now, ...
2
votes
0answers
155 views

How and where to update RolePrincipal?

I'm using asp.net FormAuthentication and a custom role manager. I would like to add a custom Identity to the User object so I can store some custom user data in the User object and still have all the ...
2
votes
0answers
346 views

webrequest forms-authentication

What I want to do is log into a website and extract data from it. I know the means to this is through a webrequest and forms-authentication but everything I've found code wise seems to be in small ...
2
votes
0answers
486 views

Share WCF RIA Services between ASP.NET MVC and Silverlight clients

I want to use WCF RIA Services as the middle tier for multiple clients including Silverlight and ASP.NET MVC. I created a solution with Domain classes in a separate assembly using WCF RIA Services ...
2
votes
0answers
367 views

Will the ActiveDirectoryMembershipProvider traverse a one-way domain trust (in SharePoint)?

We are implementing SharePoint in an environment with multiple separate domain forests that will be used to authenticate users using claims based authentication. The various domains have a one-way ...
2
votes
0answers
1k views

Authenticating with Jetty through GWT button

I'm trying to create a login page using SmartGWT and have been trying to get Form Authentication to work with the Jetty server embedded with the GWT plug-in for Eclipse. I have a page that takes a ...
2
votes
0answers
566 views

Is it possible to validate an ASP.NET Forms Authentication ticket in ISA/UAG (or similar) and do redirects based on the result?

We have an ASP.NET MVC application that uses Forms Authentication to create and validate the authentication ticket (cookie). The log on flow is very special, not just username/password, but it ends ...
2
votes
0answers
944 views

Prompted for credentials when using a shared data source with Report Builder 2.0 over the Internet with forms authentication

SQL Server 2008 (not R2). I am trying to allow users to build and deploy SSRS reports on a reporting server that the users can only access over the Internet. I have created a custom forms ...
2
votes
0answers
567 views

Forms Authentication overrides impersonation in IIS7

I have been searching all over the place for a solution to this. I have an ASP.NET app which ran fine on IIS6. On IIS 7.5 (Integrated pipeline) I am running into some problems. <identity ...
2
votes
0answers
853 views

Logout Issues with WPF and Client Application Services

I have recently been prototyping an application using WPF and Client Application Services. I am trying to use all three features of the Client Application Services : Forms Authenticiation, Role ...
2
votes
0answers
290 views

Sharing login credentials on localhost with 2 web applications on IIS7, possible?

I have 2 asp.net web applications running in IIS7: http://app1.local/ and http://app2.local/ My host.ini file just maps the above urls to localhost: ::1 app1.local ::1 app2.local I added the ...
2
votes
0answers
1k views

ActiveDirectoryMembershipProvider - Can't use secure connection protection

I try to use ASP.Net's MembershipProvider to give access only to certain users. This is backed up by an ADAM instance. I use some test-code which runs just fine: public static DataTable ...
1
vote
0answers
26 views

What are possible reasons ASP.NET MVC may redirect to login page second time?

Using forms authentication and MVC 5, I see redirect to login page occurring twice. Confirmed this with Fiddler. The sequence is this: GET testhost/myapp/ - response redirects to URL in step 2. GET ...
1
vote
0answers
16 views

Authenticate a user on two ASP.NET sites using forms authentication and basic authentication with single sign on?

Context: I have an ASP.NET WebForms Website (not a Web Application) that I'm reimplementing in a new ASP.NET MVC Web Application with a new CMS. These sites will have the same second-level domain, ...
1
vote
0answers
8 views

ExtendedMembershipProvider and WebSecutiry.Login, where does persistCookie go?

Ok, so I have implemented a custom ExtendedMembershipProvider for use with an MVC4 application, all of this is wired up and working ok however I have been having an issue with the forms authentication ...
1
vote
0answers
21 views

http redirect loop using location in web.config

I have a website inside which I have a directory I want to keep private. My login page is inside this directory called admin.aspx. In my main Web.Config I have the following block: ...
1
vote
0answers
38 views

ASP.NET Authenticate Request Without Redirect

I'm having trouble figuring out how to do something that I imagine is very common in an ASP.NET Web Forms application. It's a pretty standard app with the usual inputs (dropdowns, text editors, etc), ...
1
vote
0answers
78 views

Single authentication pipeline for webapi, mvc and signalr supporting basic and forms

My current services are using MVC to render forms, WebApi to move my viewModels back and forth and signalR for push notifications etc. If the users are browsing the website they will be using forms ...
1
vote
0answers
237 views

ASP.net MVC FormsAuthentication cookie missing

I'm writing an ASP.net MVC 5 application using FormsAuthentication. I had everything up and working properly using FormsAuthentication.SetAuthCookie(user.Email, model.RememberMe). However, I wanted ...
1
vote
0answers
38 views

c# 3.5 - sharing authentication between winforms and asp.net

I have a winforms application which calls web services and then based on the results fires up an ASP.NET webpage. The ASP.NET webpage and web services are protected by a custom membership provider. ...
1
vote
0answers
62 views

MVC4 WebSecurity SimpleMembership Login without password

I want to create a simple feature that allows the Admin to login in as any other user WebSecurity.Login won't work because i keep only hashes of passwords so i don't have those, i tried using ...
1
vote
0answers
49 views

What type of Encryption does FormsAuthentication use?

I recently used FormAuthentication.Encrypt to create a temporary token which I was passing via the query string. Now I am wondering about the wisdom of this and looking into what type of encryption ...
1
vote
0answers
35 views

The profile group 'ProfileGroupPersonal' has not been defined

Actually I need to implement MemeberShip Form authentication in MVC.Now I have created ProfileCommon Manually with Profile Group as well.Now I am getting this while creating the user. Here is My Code ...
1
vote
0answers
16 views

How to debug or step-into Microsoft Forms Authentication source?

I've seen at least one question here that was similar to mine, but it wasn't answered, so here goes. I want to step through the source for certain parts of the whole MS Forms auth library, ...
1
vote
0answers
18 views

deactivating FormsAuthentication ticket

I have some misunderstanding with forms authentication. For example my app has many employees and one of them is retired. But his user information is needed for documantation. so i just disable his ...
1
vote
0answers
26 views

Protecting silverlight xap file with forms authentication - result in 2104 error

I would like to protect my xap file, therefore in my folder /auth/ i have following web.config file <security> <authorization> <add accessType="Deny" users="?" /> ...
1
vote
0answers
129 views

DotNetOpenAuth project + webform login with ASP.NET (VB.NET)

I have seen many DotNetOpenAuth project examples and many other very nice ASP.NET webform application with user management. Unfortunately I could not find any example/project/chapter with the ...
1
vote
0answers
242 views

Issue with Request.IsAuthenticated after Login page mvc asp.net

I am having an issue with checking the authentication when a user logs in to my site. So I have a login page (Login.cshtml), that of course a user would login from. From there the user would be ...
1
vote
0answers
178 views

MVC - Forms Authentication - 401.2

I am trying to setup FormsAuth for my MVC app. When I browse to the login action (which has the AllowAnonymous attribute, I get a 401.2 error. My web.config has: <authentication mode="Forms"> ...
1
vote
0answers
749 views

Uploading a File to Server in Intel XDK when server requires authentication

I am developing an app using Intel XDK New. The issue I am having involves the Intel XDK JavaScript Bridge API, in particular the uploadToServer method. I have written a simple server backend using ...
1
vote
0answers
194 views

Membership can't validate user after providing machineKey

I have a web site with two endpoints, let's say www.mydomain.com and mydomain.com. I need my user stay loged in when he jumps from one domain to another. For this task I could force my users to ...
1
vote
0answers
154 views

MVC4 Forms Authentication not timing out

I am using the MVC4 Simple Membership Provider. Initially the website logins were timing out prematurely and the user was requested to log back in. After searching, it seemed the solution was to add a ...
1
vote
0answers
456 views

WCF with Forms Authentication

I've a asp.net 4.5 webforms project with WCF REST services. The aspx pages call these services from code behind using HttpClient. All the get and post services work fine. We recently added Forms ...
1
vote
0answers
69 views

User Admin of SharePoint in a client Desktop WIndows Application

Background: I've created a client application to connect to SharePoint (2013) on my server (Windows 2008 R2) and download/upload files. I've implemented Forms Based Authentication, by working through ...
1
vote
0answers
212 views

Regular event ID 1315 “ticket supplied was invalid” when not using forms auth

We're seeing lots of events like these even though we have authentication set to "None": Event code: 4005 Event message: Forms authentication failed for the request. Reason: The ticket supplied was ...
1
vote
0answers
159 views

Form Based Authentication giving Forbidden 403

Hey im making an application where the username and password have to be stored in the glassfish server and then when i run the application the user has to enter already stored user name and password ...
1
vote
0answers
52 views

HttpContext.Current.User.Identity.IsAuthenticated false when using WebRequestCreator.ClientHttp

I'm using ServiceStack with ClientHttp web request mode and when I try to check if the user is currently logged in (for sometime I'll need a bridge between asp.net authentication and SS one) I got ...
1
vote
0answers
85 views

asp net refreshing authentication token without full postback

I have a ASP.net Page that requires Authentication using the standard .net membership provider. On this page there is a third party text editor that run in an iframe. The problem is I cannot check on ...
1
vote
0answers
591 views

Forms Authentication with roles using GenericPrincipal: Problems with jQuery.cookie

I want to use rule based authentication and authorization like this:   UserController: string roles = "edit,admin"; var authTicket = new FormsAuthenticationTicket(1, user.UserName, ...