Access the cross domain single sign-on websites using .net
Let's say I have two websites that live on separate domains, and they have been authenticated with SSO login. I log into the first website and authenticate, and now I decide to visit the second website...
View ArticleFew questions about simple membership
i never use simple membership.1) i like to know where simple membership create user and role specific tables ? does it create in local db in app_data folder ?2) how to force simple membership to create...
View ArticleHow to set roles or permission during claims auth in asp.net mvc5
before i use form authentication in asp.net mvc4. now i like to use claim auth with asp.net mvc5. i like to know how people set roles when they use claim with identity in asp.net mvc5?before how i set...
View ArticleASP.Net MVC: How to add custom data to claim during login process
i was reading article from here http://kevin-junghans.blogspot.in/2013/12/using-claims-in-aspnet-identity.htmlthis way we can add claim during loginvar user = userManager.Find(userName, password);...
View ArticleDecoupling Asp.Net Identity 2.0 from Entity Framework in MVC5
read this article https://jinishbhardwaj.wordpress.com/2014/07/16/decoupling-asp-net-identity-2-0-from-entity-framework-in-mvc5-part-1/but see the below code which is not clearpublic class...
View ArticleHow to attach claim permission to action like roles
when we use role then we decorate action with single or multiple role names. if user has that role then user can access that action otherwise not like below code.[AuthLog(Roles = "Manager")] public...
View ArticleHow to read claims data from specific function which fire for every request
i am looking for a function which will fire for every request. i can say begin_request in globa.asax and post authenticate functioni guess these two function always fire.if i am right then tell me from...
View ArticleHow to add custom data to auth cookie when working with identity and roles
suppose i want to attach logged in user last pwd change date to auth cookie during login process. show me how can i do it and also tell me how to read back last pwd change date from auth cookie ?please...
View ArticleClaimsIdentity.FindFirst does not find claims
I am attempting to write a single sign authentication/authorization MVC web application that authenticates a user from client application(s) using OWIN and Thinktecture.IdentityServer3. I am...
View ArticleAccessing Claims Value After Login
Hi all.I'm using .NET 4.5 MVC. I'm new to MVC but I don't think that's the problem.I'm stumped. I have a user that has a custom claim, FullName, and I don't know how to access it after signing in. I...
View ArticleMulti domain authentication (with on-premise AD of comapny A as well as ADFS...
Hi All,I am looking for the solution to solve my problem explained below:Case 1: Company A is having an ASP.NET portal (website) for its employees. Employees can access this website when they are...
View ArticleWhat purpose TicketDataFormat used for
just got the code from here http://stackoverflow.com/a/21740549/6188148as far as i know auth cookie content is encrypted by asp.net engine. below code try to use his encryption and decryption logic to...
View ArticleIdentity and last password change date
when we create a sample asp.net mvc project with VS2013 then identity related code is automatically added to project. i want to add one more column to user table and that is user's last password change...
View ArticleHow to solve Anonymous Logon is not configured.UserIdentity should now be...
Hi all,I was trying out Form Authentication in Reporting Service, https://msftrsprodsamples.codeplex.com . I was stuck at Anonymous Authentication part and I can't go any further like user login or...
View ArticleApplication pool is crashing when it's set to ApplicationPoolIdentity
I am trying to do it but it crashes every time I am running the app. setting to NetworkService works fine. I have added IIS APPPOOL\DefaultAppPool to the application root folder. Still the same. My OS...
View Articlecan u have multiple login pages using forms authentication?
I am trying to create a website that will allow users to login, as well as admin staff. Is it possible to have two separate login pages (one for users, and one for admin) using forms authentication?...
View Articlehow to check validate account before approve new account
Hi,how can i check user account isvalid or not befor approve. i have use below code but user account always false.Code:MembershipUser user = Membership.GetUser(userId);//user id will get from query...
View ArticleBest approach for authentication service
Hello all.Here's the scenario: one of our clients has about 60 applications (and is in the process of creating some new ones), all in the same domain, and he wants to integrate authentication for all....
View ArticleSecure Web API with API Key
Hello EveryoneCan someone point me in the right direction on how to secure web api using api key.Thanks
View Article