Starts in:
2 DAYS
15 HRS
46 MIN
29 SEC
Starts in:
2 D
15 H
46 M
29 S

Activities of "sumeyye.kurtulus"

Hello again. The library we are using to manage this process gets the oAuthConfig values from the environment variables and reads the dummyClientSecret value accordingly.

For this reason, we would suggest you to use the same library called OAuthService . This will allow you to manage the dummyClient value to be sent in the body and get the tokens that you may need (e.g. fetchTokenUsingPasswordFlow function).

After you have achieved this, you can set the same value back manually.

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

Hello, can you also try using loginUsingGrant function to be able to give the grantType and get the token that you may be looking for?

Showing 101 to 102 of 102 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06