Activities of "nguyenngoc.son"

Hi, The same issue with loginUsingGrant method

Hi, When the application call method login of ABPOAuthService, we only sent the username and password user to the request payload. As you can see on the second and third images, I believe that the login function is getting client_id, client_secret, and scope from environment.

After update the dummyClientSecret by setState function of EnvironmentService, the login function throw the exception relative to the tokenEndpoint.

However when I check that value in the environment then it still exists.

It working as expected if I

Network tab

Request body

Parameters send to login function

Login function from @abp/ng.core lib

Hi, After following the guidelines,

I got this error when login, the login method of ABPOAuthService throw exception for not find the token endpoint

When I revert the changes, it working as expected

Hi I'm try with the above guideline, however I got the error below

Hi, Currently we're working to remove the dummyClientSecret config out of the environment.ts. Because in our application, we'll call the connect/token API from the method login of AuthService (@abp/ng.core lib) so after removing it, the API returns invalid_grant message because when calling the connect/token API the login method automaticly send the dummyClientSecret value to the request body. We have tried to set the dummyClientSecret value inside the angular component using the setState method of EnvironmentService, however the login method throw the exception tokenEndpoint is null. But when we console log the environment, then the tokenEndpoint still exists with the same value we config inside the environment.ts file

  • ABP Framework version: v7.4.2
  • UI Type: Angular
  • Database System: PostgreSQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

so in the OAuth Config section, we have those below information: issuer, clientId, dummyClientSecret, scope, showDebugInformation, oidc, requireHttps which one can be removed?

Hi, Right now the OAuth configuration for issuer, clientId, client secret, scope are stored in environment.ts file. However with the security concern, we can not store those information in the javascript files. So can we store them in the API and return it to the client application so it can use? If we can then can you provided the sample so that we can follow it.

Question

Hi, Currently in my project, I have about more than 1000 unit tests. When I run all tests it took around 90 mins to completed. The reason why the test cases is so slow is because we put all the test data in the data seed contributor so each test cases need to insert all the test data again and again. For example: one test case take 20 seconds to complete but the test data creation took 19 seconds already.

Can we have any option or any idea that we can only need to insert the test data once and other cases can reuse that data instead of inserting new one?

Closed it because wrong string was using in the vietnamese json file

Hi, I found the root cause is the vi.json file. After delete that file it working fine. Any idea why the vi.json file is not loaded?

Showing 1 to 10 of 18 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11