Skip to content

[BUG] RestTemplate used to get access token should only contain 2 converters #31482

Description

@chenrujun

Context

The RestTemplate created by AadRestTemplateCreator#createOAuth2AccessTokenResponseClientRestTemplate should only contains 2 converters. Current implementation is adding converters instead of setting converters. The added converters will not be used because they are added last and lower priority.

image

Goal

Make sure The RestTemplate created by AadRestTemplateCreator#createOAuth2AccessTokenResponseClientRestTemplate only contains the 2 necessary converters.

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.azure-springAll azure-spring related issuesazure-spring-aadSpring active directory related issues.bugThis issue requires a change to an existing behavior in the product in order to be resolved.

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions