Open Closed

Abp.io - Code Flow (PKCE) in Angular not load home (Azure AD) #6407


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

Hi,

I'm using Code Flow authentication (PKCE). When I access the Angular frontend I am redirected to the backend to log in via Azure AD.

After logging in correctly, I am redirected to the frontend home page, but the home page is blank, that is, the page does not load.

can you help me?


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

    Hi,

    Is there any error log?

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello ,

    Please check this once document https://community.abp.io/posts/how-to-setup-azure-active-directory-and-integrate-abp-angular-application-lyk87w5l

    Thanks,

  • User Avatar
    0
    fernando.guilherme created

    Hello ,

    Please check this once document https://community.abp.io/posts/how-to-setup-azure-active-directory-and-integrate-abp-angular-application-lyk87w5l

    Thanks,

    Hi,

    I followed the instructions exactly in this post... I don't have any problems logging in with Azure AD...

    After logging in with Azure AD and being redirected to the front again, the home page is blank, if I refresh the page then the front components appear.

    Does not generate logs in the browser's devtools.

    can you help me?

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello ,

    Please check this one 1.Ensure the redirect URIs exactly match your application's front-end URLs, including any necessary path segments. 2.Verify that the OAuth configuration in your ABP application aligns with your Azure AD setup, including the issuer, client ID, redirect URIs, and scopes. 3.Open your browser's developer console (usually by pressing F12) and look for any errors or warnings that might be preventing the page from loading correctly.

    Check this code appsetting.json hostmodule

    Thanks,

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