Activities of "yunusemrecaglar"

"options.UseSqlServer<ObiyosisDbContext>(); options.UseOracle<OldSystemDbContext>();",

"options.UseSqlServer();" When I changed the code from the upper part to the lower part and ran it, the issue was resolved. Now it's not giving that error, even when I revert to the upper part. If it happens again, could I contact you for remote assistance?

Hello, The system was working. I left, and when I came back after 1 hour, I restarted it, but now it's giving an error. What could be the reason?

I didn't see a server error in the link you provided

! image.png

How can I find current user token?

hi, I don't understand how to obtain the token of a user who has logged in the 'ProjectB.Application' project.

Hi, I can perform the actions highlighted in green. What I want to do is what's marked in red. I cannot perform the action marked in red. With this code: 'await HttpClientAuthenticator.Authenticate(new RemoteServiceHttpClientAuthenticateContext(client, requestMessage, new RemoteServiceConfiguration(baseUrl), string.Empty));' I can make a request from Project B's frontend to the API in Project A. However, I cannot use this code in Project B's API, so I cannot obtain the token. Therefore, when I go from Project B's API to Project A's API, it returns a 401 error. How can I obtain the token of a user who has logged in to Project B's API? If I obtain the token, I can make requests to Project A's API using that token.

Hi, Both projects are monolithic projects, how can I make them work with a single token?

Answer

It worked, thank you!

Answer

How can I request it? I need Project A's token. How can I obtain the token created for Project A? I need to obtain Project A's token within Project B's application.

Answer

Indeed, when I do it this way, it acquires the token. I log in from Project B's Blazor application using Project A's auth server. However, when I call the endpoint in Project A's backend from Project B's Blazor application, it returns a 401 error.

Showing 31 to 40 of 62 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35