Open Closed

Upgrading to 8.2 created infinite loop between blazor server ui and auth server #7438


User avatar
0
omer_yel created
  • ABP Framework version: v8.2
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

We have upgraded our project to 8.2 version using both commercial and standard migration guide documentations. We created new migration for session table. Auther Server and API host project works well. But we can not sign user in on blazor ui. Blazor Ui redirects to Auth server then auth server redirects to blazor Ui. This happens continuously. Blazor UI error log: API Host error log: Auth Server log: Blazor action at login: How can we upgrade our project to v8.2 properly?


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

    Hi,

    Please try use the latest IdentityModel packages in the HttpApi.Host project.

    <PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="7.5.1" />
    <PackageReference Include="Microsoft.IdentityModel.Tokens" Version="7.5.1" />
    <PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="7.5.1" />
    

    See https://github.com/abpframework/abp/issues/20145

  • User Avatar
    0
    omer_yel created

    Unfortunately it did not work. Problem is same. I have added packageReferences. here is httpapi.host package list

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    what's the error message now?

  • User Avatar
    0
    omer_yel created
    <PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="7.6.2" />
    <PackageReference Include="Microsoft.IdentityModel.Tokens" Version="7.6.2" />
    <PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="7.6.2" />
    

    It solved using above references. Thanks for your help.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11