0
나는 내 API가받는 요청과 함께 전송 된 토큰의 유효성을 검사하는 identityserver4를 가지고 있습니다.IdentityServer3.accesstokenvalidation으로 인한 서비스 결합을 재정의하는 방법
이렇게하려면 identityserver3.accesstokenvalidation을 사용하고 있습니다. 시작에서
: 서버 실행 identityserver4 곧 (여러 초)를 사용할 수없는 경우
JwtSecurityTokenHandler.InboundClaimTypeMap = new Dictionary<string, string>();
app.UseIdentityServerBearerTokenAuthentication(new IdentityServerBearerTokenAuthenticationOptions
{
Authority = Configurations.AuthorizationAuthority,
});
지금 나는 경우에 직면 할 수도 있습니다.
이 내 API를 포함하는 서비스가 말하는 실행할 수 없습니다 발생하는 경우 :
대상 컴퓨터가 적극적으로 그것을 거부했기 때문에 없음 연결이 내 API를 원하는
하지 수 서비스가 IdentityServer 서버가 실행되고 있지 않아도 시작하려면 Identityserver3.accesstokenvalidation이이 문제를 해결하기 위해 제공하는 구성이 있습니까?
간단한 마법, 감사합니다 –
이 오류가 발생하기 때문에 ID 서버 4에서 인증서를 사용해야합니까 : 'https : // localhost : 33132/identity /. well-known/openid - 구성 '. –