Starts in:
2 DAYS
3 HRS
25 MIN
6 SEC
Starts in:
2 D
3 H
25 M
6 S
Open Closed

I need to refresh the angular app to load it correctly after Why ? #7544


User avatar
0
bhasinp created
  • ABP Framework version: v8.1.3
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hi Team,

I open the angular app, For login, it redirects me to the Host/API project for authentication, and I enter the credentials for auth and It redirects me back to angular. When the angular app opened for the first time, I saw the blank page and nothing else, and when I pressed the refresh only then it loads the angular project.

In Short, After authentication, I need to refresh the page of the angular app to load it correctly. Can you please help me what I'm missing in this?

Here is the env. config.

export const environment = {
  production: false,
  application: {
    baseUrl,
    name: 'myProj',
  },
  oAuthConfig: {
    issuer: 'https://{0}.myProj.com:44368/',
    redirectUri: baseUrl,
    clientId: 'myProj_App',
    responseType: 'code',
    scope: 'offline_access myProj',
    requireHttps: true,
  },
  apis: {
    default: {
      url: 'https://myProj.com:44368',
      rootNamespace: 'myProj',
    },
  },
} as Environment;

Can you


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    it's not normal, How can I reproduce the problem in a new app template? please share the full steps

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06