Base solution for your next web application
Open Closed

Unexpected autheticationResult! #5262


User avatar
0
alexanderpilhar created

After upgrading my Project (ASP.NET Core & Angular with .NET Framework 4.6.1) from version 5.0 to 5.5 I experience the very same issue: [https://github.com/aspnetzero/aspnet-zero/issues/597]) - which seems to have been resolved by upgrading the version of abp-ng2-module ([https://github.com/aspnetzero/aspnet-zero-core/commit/1bc5f34f913c8f76980367fa90e9063b3733ec95])).

I'm using abp-ng2-module 3.0.0 - it is the current version at the moment ([https://www.npmjs.com/package/abp-ng2-module])).

Note: I experience this issue in every browser I have installed (Chrome, Edge, Firefox (Current & Dev Edition), Internet Explorer, Opera, Vivaldi). Also, changing tenant does not work (no error message).

I don't quite know where to look for to solve this problem. Could anyone help, please!?


2 Answer(s)
  • User Avatar
    0
    alexanderpilhar created

    Solved!

    Turns out the following line was missing in service-proxy.module.ts:

    { provide: HTTP_INTERCEPTORS, useClass: AbpHttpInterceptor, multi: true },
    

    Seems like it didn't get merged correctly from the upgrade-branch to the development-branch. Or maybe I did it by hand and simply overlooked ...

    Anyway, it's working now :)

    FYI, I used source-control explorer (Visual Studio Team Services) to simply compare the difference between upgrade-branch and development-branch. This way I was able to find the missing line of code quite fast :)

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks for your feedback @alexanderpilhar :)