Activities of "mgurer"

Answer

I just tested the refresh_token flow. Suggested solution does not suitable for refresh_tokens. The solutions is fine for password flow. IdentityServer4's DefaultTokenService was working as expected. I need to alter/add claims to token even in the refresh_token flow.

Thanks

Is there any estimation for the release date?

Thanks, once more. You saved the day again.

DemoApplicationClient is created using blazor app UI and client_credentials,refresh_token,password flow options checked.

var client = new RestClient("https://localhost:44322/connect/token"); client.Timeout = -1; var request = new RestRequest(Method.POST); request.AddHeader("Content-Type", "application/x-www-form-urlencoded"); request.AddParameter("client_id", "DemoApplicationClient"); request.AddParameter("client_secret", "1q2w3e*"); request.AddParameter("grant_type", "password"); request.AddParameter("username", "admin"); request.AddParameter("password", "1q2w3E*"); request.AddParameter("scope", "ProductService"); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content);

Answer

It works as expected on password flow.

I could not test it on refresh_token flow. I will open another ticket for that issue.

Thank for your support.

Answer

Hi,

I think the document is not about adding new claims to the token. It is about switching the destination of an already added claim. It helps to decide where the claim exists (idtoken or accesstoken).

The claims property of the context is a readonly array and can not be altered. Using this class, I can not add a new claim to the context but I can alter it is destination.

I need to add new claims to the context, not to alter their locations.

Thanks

Thanks.

Hi Malik,

After a bit of work, dynamic proxies works as expected. I somehow managed to run microservices with dynamic proxies.

I will be glad if any solution for afterLeptonXInitialization error is supplied.

Thanks in advance. Regars.

Showing 11 to 20 of 25 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 14, 2025, 14:54