فتح مغلق

Cannot Login in using angular in Microsoft Edge Legacy #871


User avatar
0
learnabp خلقت
  • ABP Framework version: v4.2.0

  • UI type: custom-angular with MVC frontend the curom-angular app imports the following for authentication

                          import { AuthService, RestService } from '@abp/ng.core';
                          import { OAuthService } from 'angular-oauth2-oidc';
                          import { IdentityUserService } from './proxy/volo/abp/identity';
    

The custom-angular app runs in Microsoft Office Addin and uses office.js and is setup using the following steps from https://www.initgrep.com/posts/javascript/angular/microsoft-office-addin-using-angular-cli

  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): MVC

Unable to login in to the Microsoft Edge Legacy running in Microsoft Office Addin, if we try and login four or five times it will eventually login and get the AccessToken but doesn't work every time it is hit and miss.


1 إجابة (إجابات)
  • User Avatar
    0
    bunyamin خلقت

    Hello,

    If you can log in after few trials, it may indicate that the browser cannot store cookies/local storage values properly. You could debug your application by closely inspecting browser cookies and values in local storage to see if the token from the identity server is properly stored.

Made with ❤️ on ABP v8.2.0-preview Updated on مارس 25, 2024, 15:11