Activities of "JanneHarju"

Not yet. I'm figuring that how big work is to make minimal reproduce project. Did you use same angular version because I think it was related to that.

I'm not sure anymore is cookie remove best solution. By disabling automatic third party login user only need to click one more button but when clearing cookie users need always to write their tenant. Is there possibility in that controller to check

IsSelfRegistrationEnabled = await SettingProvider.IsTrueAsync(AccountSettingNames.IsSelfRegistrationEnabled);

and this kind of things

public bool IsExternalLoginOnly => EnableLocalLogin == false && ExternalProviders?.Count() == 1;

Without these checks I jsut need to remove cookie for every tenant and user and that is bad.

I sent har file to mail.

Of cause. Thank you very much. This fix problem we had.

Will these or something similar implemented in 9 version? Just to know that are we able to get rid of these fixes in our code after we update to abp 9. We are trying to avoid as much as we can any your code customization to ease version update process.

So far this is now fixed so finally I can close this for good.

Thank you one more time for providing way to fix this problem to Abp 8 version.

I tried to set https://localhost:44369/Account/Login to post_logout_redirect_url and result is that login page still remembers tenant and when user is trying to logout user ends up as logged in again but not back to application. User ends to auth server main page as logged in like this.

But problem is that auth server is remembering tenant by that __tenant cookie(I assume). And when I logout auth server login page automatically fill tenant to Selected organization.

Currently I have created logged-out page at my frontend which is not protected by auth guard so it will no trigger authentication process. In that page I have button which redirect user to my application root(/logged-out/ ---> /). So when user clicks that button authentication process starts and user is redirected to auth servers loginpage. When user or apparently page itself(from cookie) select organization which only have one external provider configurated, it redirects user to immediatelly to that providers page and login page is not even shown to user. So how can I clear that auth server won't remember tenant?

Here are those authserver configurations from frontend. What I need to configure and where to achive what you suggest ("pass to the logout page a returnUrl to your login page")?

Here are my current localhost settings.

Do I need to add something when I call that logout function? That logout function can take some queryparameters.

I'm returning this later

I'm returning this later

I'm returning this later

The return URL (https://application-test.ab.app/logged-out in this case) must be registered in the PostLogoutRedirectUris column of your OpenIddictApplications table — otherwise, the redirect won’t be accepted.

Here in your example url is to application url. Did you ment auth-server url? And is correct url in auth server Account/logout? Or do you ment that I first redirect with postlogouturl and I also add some other returnurl that after user is directed to Account/Logout user is redirected also to logged-out url in my application? I'm little bit confused how this should be configured. And what makes auth server to forget __tenant.

My logout button is using import { AuthService } from '@abp/ng.core'; authService.logout().subscribe();

Showing 1 to 10 of 83 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.0.0-preview. Updated on September 01, 2025, 08:37