"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?
I didn't see a server error in the link you provided
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?
It worked, thank you!
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.
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.