Activities of "maliming"

Great

Great!

hi

You don't need to add CookieAuthentication; Identity.Application is already here.

private void ConfigureExternalProviders(ServiceConfigurationContext context)
{
    context.Services.AddAuthentication(options =>
    {
        //options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;
        //options.DefaultChallengeScheme = "Okta";
        //options.DefaultSignOutScheme = "Okta";
    })
    //.AddCookie(CookieAuthenticationDefaults.AuthenticationScheme)
    .AddOpenIdConnect("Okta", options =>
    {
        options.Authority = "https://myauthentication.okta.com/oauth2/default";
        options.ClientId = "MyClientId";
        options.ClientSecret = "MyClientSecret";
        options.CallbackPath = "/signin-azuread-oidc";

        options.ResponseType = OpenIdConnectResponseType.Code;
        options.MapInboundClaims = false;
        options.Scope.Add("email");

        options.Events = new OpenIdConnectEvents
        {
            OnRedirectToIdentityProvider = redirectContext =>
            {
                redirectContext.ProtocolMessage.RedirectUri = "https://int-fbteammgmt.lpl-cloud.com/signin-azuread-oidc";
                return Task.CompletedTask;
            }
        };
    });
}

It seems you changed the default authentication scheme to Cookies instead of Identity.Application

Can you share the source code of Chanel.Calendar.Web.CalendarWebModule?

Thanks.


Updated

You don't need to add CookieAuthentication; Identity.Application is already here.

private void ConfigureExternalProviders(ServiceConfigurationContext context)
{
    context.Services.AddAuthentication(options =>
    {
        //options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;
        //options.DefaultChallengeScheme = "Okta";
        //options.DefaultSignOutScheme = "Okta";
    })
    //.AddCookie(CookieAuthenticationDefaults.AuthenticationScheme)
    .AddOpenIdConnect("Okta", options =>
    {
        options.Authority = "https://myauthentication.okta.com/oauth2/default";
        options.ClientId = "MyClientId";
        options.ClientSecret = "MyClientSecret";
        options.CallbackPath = "/signin-azuread-oidc";

        options.ResponseType = OpenIdConnectResponseType.Code;
        options.MapInboundClaims = false;
        options.Scope.Add("email");

        options.Events = new OpenIdConnectEvents
        {
            OnRedirectToIdentityProvider = redirectContext =>
            {
                redirectContext.ProtocolMessage.RedirectUri = "https://int-fbteammgmt.lpl-cloud.com/signin-azuread-oidc";
                return Task.CompletedTask;
            }
        };
    });
}

Great 👍

hi

Can you enable Debug logs and share logs.txt and har file?

Please try to access an authentication page(/Identity/Users) after logging in (even if you don't appear to be logged in).

Thanks

Thanks. We will do that. 👍

hi

I think we can't know if the user has made the payment.

Thanks.

可能是缓存问题, 已经解决就可以

Please check the logs in http://localhost:44325/ gateway website.

Showing 531 to 540 of 12002 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.2.0-preview. Updated on February 17, 2026, 09:10
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.