Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

Não funciona a autenticação no IdentityServer...

An unhandled exception occurred while processing the request. IOException: The server returned an invalid or unrecognized response. System.Net.Http.HttpConnection.FillAsync()

HttpRequestException: An error occurred while sending the request. System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)

IOException: IDX20804: Unable to retrieve document from: '[PII is hidden]'. Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.GetDocumentAsync(string address, CancellationToken cancel)

InvalidOperationException: IDX20803: Unable to obtain configuration from: '[PII is hidden]'. Microsoft.IdentityModel.Protocols.ConfigurationManager.GetConfigurationAsync(CancellationToken cancel)

2 respostas

Consegui resolver este problema mas apareceu outro: Sorry, there was an error : unauthorized_client Invalid redirect_uri

solução!

Consegui resolver tive que colocar a linha abaixo no servidor identity: AllowedGrantTypes = GrantTypes.HybridAndClientCredentials,

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software