- **ABP Framework version:**5.1.3
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes / no
- Exception message and stack trace:
- Steps to reproduce the issue:"
****code ****
import { Component } from '@angular/core';
import {eSaasComponents} from '@volo/abp.ng.saas/volo-abp.ng.saas'
import {eIdentityServerComponents} from '@volo/abp.ng.identity-server/volo-abp.ng.identity-server'
import { eThemeLeptonComponents } from '@volo/abp.ng.theme.lepton';
import { NavItemsService } from '@abp/ng.theme.shared';
import { ReplaceableComponentsService,ReplaceableComponents } from '@abp/ng.core';
import { eSettingManagementComponents, } from '@abp/ng.setting-management/abp-ng.setting-management';
import { eAccountComponents } from '@volo/abp.ng.account/public';
import { LoginComponent } from './account/login/login.component';
@Component({
selector: 'app-root',
template: <abp-loader-bar></abp-loader-bar> <abp-dynamic-layout></abp-dynamic-layout>
,
})
export class AppComponent {
constructor(private replaceableComponentsService: ReplaceableComponentsService) {}
ngOnInit() {
this.replaceableComponentsService.add({
key: eAccountComponents.Login,
component: LoginComponent,
});
}
}
1 Answer(s)
-
0
It seems you want to use Resource Owner Flow. Remove
responseType
from your environment settings.https://docs.abp.io/en/abp/latest/UI/Angular/Authorization#resource-owner-password-flow