Netcore SAML auto challenge example

Hi All

How implement SAML auto challenge feature accross cookie Authentication Schema?
If User is not authenticated SAML should redirect to okta.com login page.

public void ConfigureServices(IServiceCollection services) {

            services.ConfigureApplicationCookie(options =>
            {
                options.Cookie.Name = "MiddlewareIdentityProvider.Identity";
            });


            services.AddSaml(this.Configuration.GetSection("SAML"));

            // Add the SAML middleware services.
            services.AddSamlMiddleware(options =>
            {
                options.PartnerName = () => Configuration["PartnerName"];
            });
}

public void Configure(IApplicationBuilder app, IHostingEnvironment env) {
     app.UseAuthentication().UseSaml();
}

Thank you.