Activities of "hung.nguyen"

  • ABP Framework version: v4.2.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

I have this issue: User change the language of the application (Angular) from English to Finnish. Then after that he logs out. Then he goes to login page (which is an MVC application). Then he sees that the login page is still in English.

How can I make the language of the login page change when user changes the language in application?

Hi liangshiwei. I work in the same project with christophe. On my local, I still see this bug. Please note that I already have "RedirectAllowedUrls": "http://localhost:4200" in my appsettings file. I check your commit to fix this issue https://github.com/abpframework/abp/pull/6734/commits/acb596d38cce409e54bfd9b63738601e8e83c22b and I see 1 line that I don't understand well: public bool IsRedirectAllowedUrl(string url) { return Options.RedirectAllowedUrls.Any(url.Contains); }

Is this the same as: return Options.RedirectAllowedUrls.Contains(url); :-/ Anyway, it is so strange that this issue still happens on my side

  • ABP Framework version: v4.2.1
  • UI type: Angular not MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:
    • Download source code of Blogging module (same version of ABP core with the main app)
    • Build it
    • Try to integrate it to the main app
    • Run main app
    • See the error in console window

Does anyone know how to fix this? Thanks a lot for any help

Hi, I found it in the link you sent. It is just simple like this

import { Component } from '@angular/core'; import { OAuthService } from 'angular-oauth2-oidc';

@Component({ selector: 'app-root', template: <abp-loader-bar></abp-loader-bar> <abp-dynamic-layout></abp-dynamic-layout>, }) export class AppComponent { constructor(private oAuthService: OAuthService) { this.oAuthService.revokeTokenAndLogout(); } }

Thanks for your support

So, does the version affect the solution?

Ah it is 4.0.0, not as like as this thread's author. And Tiered (MVC) or Identity Server Seperated (Angular) is No

Hi,

I do the same, but still nothing happens, no alert. I'm still logged in

Is there some thing more I need to check?

hi @Mehmet,

I try your code but I doesn't work. Nothing happens. Could you please check your code?

hi, what cache do you mean here? Browser cache or npm cache? I tried as you said, clear the Browser cache, but still not work

I did try clearing the cache, not work

Showing 1 to 10 of 13 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11