Open Closed

Cannot Login in using angular in Microsoft Edge Legacy #871


User avatar
0
learnabp created
  • 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 Answer(s)
  • User Avatar
    0
    bunyamin created

    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 v9.1.0-preview. Updated on December 10, 2024, 06:38