asp.net-authentication Questions
3
Solved
My ASP.NET Core app uses "out-of-box" external login authentication. What I want to implement - on facebook challenge I want to wrap redirect url and return it as json to consume in jquery frontend...
Nathalia asked 21/4, 2020 at 19:25
2
Solved
How can I use OIDC authentication in server-side Blazor?
I used this method, but somehow it's not right because @attribute [AllowAnonymous] doesn't really work. So I used the [Authorized] attribute...
Fluff asked 16/11, 2020 at 6:37
4
Solved
I'm working on a .NET Core 2.1 Web application with CookieAuthentication. For some reason setting the ExpireTimeSpan and Cookie.Expiration on the CookieAuthenticationOptions object doesn't have an ...
Impose asked 3/6, 2018 at 20:24
1
Solved
I am learning how security works in ASP.NET Core 2.0 and IdentityServer4. I set up the projects with IdentityServer, API and ASP.NET Core MVC Client App.
The ConfigureService method in the Client A...
Uninspired asked 25/9, 2018 at 7:20
2
Solved
I am having an issue where I cannot seem to get my Identity Server logout to show the confirmation first. I downloaded the source code for IdentityServer4 from github and found the parameter in the...
Griffis asked 5/3, 2018 at 15:24
0
How are they connected? I can use HttpContext.SignInAsync, and then HttpContext.User is set to provided identity, however I have one identity and multiple authentication ways - what if user login a...
Reichert asked 20/1, 2018 at 16:58
3
Solved
I understand that I can use claims to make statements about a user:
var claims = new List<Claim>();
claims.Add(new Claim(ClaimTypes.Name, "Peter"));
claims.Add(new Claim(ClaimTypes.Email, "[...
Biopsy asked 9/2, 2015 at 13:18
3
Solved
In order to increase session timeout, it appears I would use the following setting:
<system.web>
<sessionState mode="InProc" timeout="20" />
/* Etc... */
</system.web>
Here t...
Bolger asked 19/8, 2017 at 15:0
1
Solved
I'm trying to implement LinkedIn/OAuth authentication in my ASP.NET Core 2.0 app and I need to set the scope to { "r_basicprofile", "r_emailaddress" } so that I can user's email, profile image, etc...
Us asked 19/8, 2017 at 22:49
7
Solved
I have copied a previous project and renamed it. Once I had successfully renamed all the name spaces and it build correctly. I got the following error when I ran the application:
The following err...
Peep asked 11/2, 2014 at 12:2
1
This documentation describes in part how to use more than one authentication scheme:
In some scenarios, such as Single Page Applications it is possible to end up with multiple authentication met...
Strychninism asked 1/2, 2017 at 17:3
1
Solved
How do I implement an Automatic Logout Timer.
So basically if the user is inactive for x minutes their session is ended?
I have tried:
<system.web>
<sessionState timeout="1"/>
<...
Propaganda asked 6/2, 2014 at 13:13
1
Solved
I am trying to create a REST service using asp.net web api and everything is working fine but I have now come across what to do with authentication.
I am a little confused of where to start, here ...
Vivie asked 7/7, 2012 at 19:32
2
I have seen the default 'Account' Model and Controller which comes default with a standard MVC3 Application, how ever, as I have generated my Database first.
I already have designed my own 'Users...
Melindamelinde asked 8/4, 2012 at 20:0
2
Solved
How do i get all users from a specific role?
var users = Membership.GetAllUsers();
gets all users in all roles.
it returns a list of MembershipUser, but there is no role property.
Thanks
Predicant asked 6/2, 2012 at 8:43
4
Solved
I'm currently making a custom login in ASP.NET. I've modified the code of the Login Control to use my database instead of the Aspnet table. Here's a sample of my code;
using System;
using System.D...
Bellebelleek asked 28/4, 2011 at 3:40
3
Solved
There are plenty of questions (and information) on setting up asp.net membership, role providers and the like. Whether or not you should use the built in platform provided by microsoft, or role ext...
Uncertain asked 21/7, 2010 at 10:21
1
© 2022 - 2024 — McMap. All rights reserved.