Activities of "liangshiwei"

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

Answer

I am calling a service that requires authorization.

Sure. We can use skype. What is your skype name? you can send email to me: liangshiw@outlook.com

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.

Answer

Hi,

I can't reproduce your problem. Can you use ABP CLI to create a free template to reproduce this problem?

Answer

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,
  }
Answer

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);
     --------
});
Answer

Hi,

After adding API resources, you need to add API resources that are accessible to the client

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.

Showing 5811 to 5820 of 5960 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11