It maybe is a bug, I create an issue for this: https://github.com/abpframework/abp/issues/4327
This is a bug that will be fixed in 3.0
Hi,
I can't reproduce your problem, Can your project steps to reproduce? Thanks.
Hi,
I can't reproduce your problem, Can your project steps to reproduce? Thanks.
Sorry I forgot you used angularUI.
Find environment.ts(and environment.prod.ts)
in your angular project.
oAuthConfig: {
issuer: 'https://localhost:44305',
clientId: 'MyProjectName_App',
dummyClientSecret: '1q2w3e*',
scope: 'MyProjectName Your API Resources Name', // add your API Resources Name
showDebugInformation: true,
oidc: false,
requireHttps: true,
}
Hi,
Find AddOpenIdConnect
method in your client application module class and add the following code:
.AddOpenIdConnect("oidc", options =>
{
--------
// add this line
options.Scope.Add(Your API Resources Name);
--------
});
Like https://github.com/abpframework/abp/blob/dev/samples/MicroserviceDemo/microservices/IdentityService.Host/IdentityServiceHostModule.cs, Use an ASPNET Core application as the host, and install identity management module and localization management module.