I just want to run Docker Compose with the debug mode instead of running the API and auth server projects
This issue occurs after I log in successfully. It still works when I access the Angular page without logging in.
replace on authserver and api appsetting, right? how about angular env?
System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'http://localhost:44395/.well-known/openid-configuration'. ---> System.IO.IOException: IDX20804: Unable to retrieve document from: 'http://localhost:44395/.well-known/openid-configuration'. ---> System.Net.Http.HttpRequestException: Cannot assign requested address (localhost:44395) ---> System.Net.Sockets.SocketException (99): Cannot assign requested address at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
my setup on api.host: "AuthServer": { "Authority": "http://localhost:44395", "RequireHttpsMetadata": "false", "SwaggerClientId": "BackOffice_Swagger", "PasswordlessClientId": "BackOffice_App", "PasswordlessScope": "openid offline_access BackOffice" },
on authserver: "AuthServer": { "Authority": "http://localhost:44395", "RequireHttpsMetadata": "false" },
that is my question link :)))
I have tried but still not working, let me try again with empty project, if still not work, I will send that to you
I opened that link on another tab and it's working well but not sure why the request is not working when calling from the Angular app.
Thanks for your support i will try this