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
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
PublicUserrole, 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
ABP Framework version: v8.2.0
UI Type: MVC
Database System: EF Core (SQL Server)
Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
Exception message and full stack trace:
Steps to reproduce the issue:
I have a tiered application. i am treating web as a admin website and public.web as public website. i want to configure it in a way so that the user who have permission to view only public website cannot open admin website. how can i configure this and where should i give permissions.
I dont want any public user to enter admin website.
Thanks this worked
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.
Hi previously i have added payment module. Which resulted in some database changes. how can i remove those changes without affecting changes done after
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.