ASP.NET
Conjunto de tecnologías de .NET Framework para la creación de aplicaciones y servicios web XML.
41 preguntas
Este explorador ya no se admite.
Actualice a Microsoft Edge para aprovechar las características y actualizaciones de seguridad más recientes, y disponer de soporte técnico.
am learning how to authenticate users in ADFS using ws-federation. For this I already have ADFS, AD DS and IIS operating.
Now, following the Microsoft documentation this is how my program.cs file is configured and the authentication works.
builder.Services.AddAuthentication(sharedOptions =>
{
sharedOptions.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;
sharedOptions.DefaultChallengeScheme = WsFederationDefaults.AuthenticationScheme;
}).AddWsFederation(options =>
{
options.Wtrealm = "https://localhost:7114/";
options.MetadataAddress = "https://myServer/FederationMetadata/2007-06/FederationMetadata.xml";
}).AddCookie();
My difficulty is; I would like to control the authentication flow from my asp.net core application but so far I cannot find documentation that can guide me. Could someone give me some clues in this sense? Thank you.