Activities of "mgurer"

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.

I have figured out the proxy problem. I added reference to product api project and inserted following code to the gatewaymodule.cs

app.MapWhen(
            ctx => ctx.Request.Path.ToString().StartsWith("/api/abp/api-definition") ||
                   ctx.Request.Path.ToString().TrimEnd('/').Equals(""),
            app2 =>
            {
                app2.UseRouting();
                app2.UseConfiguredEndpoints();
            }
        );
        app.MapWhen(
            ctx => ctx.Request.Path.ToString().StartsWith("/metrics"),
            app2 =>
            {
                app2.UseRouting();
                app2.UseHttpMetrics();
                app2.UseConfiguredEndpoints(endpoints =>
                {
                    endpoints.MapMetrics();
                });
            }
        );

It fixed the issue.

Issue stated at step 8 can be answered. I still get the "Could not find 'afterLeptonXInitialization'" error on first run.

Showing 41 to 50 of 54 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 05, 2025, 12:34
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.