0
cssharma@cargoflash.com created
We have an existing ASP.NET MVC (.NET 4.8) application. We are embedding an ABP Microservice Angular application inside this existing app using an iframe.
The user is already authenticated in the existing application.
Authentication Flow
- The ABP Angular application is loaded inside an iframe.
- We do not use redirect-based login.
- We perform programmatic login using a grant in ABP Angular:
this.abpOAuthService.loginUsingGrant('password', { username, password, scope: 'openid profile offline_access AeroMiles' });
Authentication succeeds:
- Access token is stored
- Authorized API calls work correctly
Problem
After successful login using loginUsingGrant:
- The user is authenticated
- API calls succeed
- ABP Angular menus do not appear
- Menu contributors are not re-executed
- UI does not reflect authenticated state
This works correctly when using standard redirect login, but not with loginUsingGrant.
Expected Behavior
After successful programmatic login:
- ABP Angular menus should be initialized
- Menu contributors should run
- UI should reflect authenticated state