I am implementing OKTA SSO on a ASP.NET webform web app.
How can I prepopulate the username on the OKTA login page.
Example of Login Code…
var properties = new Dictionary<string, string>();
HttpContext.Current.GetOwinContext().Authentication.Challenge(
new AuthenticationProperties { RedirectUri = “/Login.aspx?SSO=true” },
OpenIdConnectAuthenticationDefaults.AuthenticationType
);
Response.SuppressFormsAuthenticationRedirect = true;
}
else
Response.Redirect("/Login.aspx?SSO=true", false);
thanks
Tomy