Activities of "devsumati"

I am facing login issue it doesn't login in one go. Same happens with ABP suite also.

Sorry, i don't understand what you mean

I mean to load login page i need to reload page twice everytime. Similarly in abp suite to view home page need to reload page twice

Hi,

if If the current request is to logout, then do not redirect I am facing login issue it doesn't login in one go. Same happens with ABP suite also. how can i fix this

ks like it has nothing to do

i tried it is working without redirecting when i redirect user is already logged in so when i try to logout it throws error.

Hi,

Basically assign a role to a user and then check it in the middleware, If user have a PublicUser role, then abort and redirect the request

Thanks it works but after redirect if user tries to logout gets errors on page if it is not redirected everything works fine.

"error:invalid_request
error_description:The client application is not allowed to use the specified identity token hint.
error_uri:https://documentation.openiddict.com/errors/ID2141"

Please also tell how to get public website url from appsetting inside this code block?

"
app.Use(async (httpContext, next) =>
{
    var currentUser = httpContext.RequestServices.GetRequiredService<ICurrentUser>();
    if (currentUser.IsInRole("PublicUser"))
    {
        //redirect ...
        return;
    }
    await next();
});
"

Can you please explain it in brief

Answer

Thanks this worked

Answer

I have used command line to add module can you please suggest what to remove or what not to if possible or can give some reference.

Answer

Hi previously i have added payment module. Which resulted in some database changes. how can i remove those changes without affecting changes done after

Answer

Sorry but every thing is implemented on our main project. instead can you tell me how can i call a controller on page load itself with any type of parammeter. i believe payu posts its response. If I will be able to call controller method onload itself i think my problem will be solved.

Answer

You will need to complete payu payment gateway payment it will automatically redirect to the desired success or failure url. once it is redirected it will show this page https://docs.payu.in/docs/integrate-with-payu-hosted-checkout

Showing 11 to 20 of 41 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.1.0-preview. Updated on December 12, 2025, 10:36
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.