404 response when sending a chunked encoded HTTP request to ../oauth2/v2.0/token endpoint

%3CLINGO-SUB%20id%3D%22lingo-sub-3002043%22%20slang%3D%22en-US%22%3E404%20response%20when%20sending%20a%20chunked%20encoded%20HTTP%20request%20to%20..%2Foauth2%2Fv2.0%2Ftoken%20endpoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3002043%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EWhen%20calling%20the%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3Eoauth2%2Fv2.0%2Ftoken%20endpoint%3CBR%20%2F%3E%3CBR%20%2F%3Efor%20example%20like%20so%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2F%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Flogin.microsoftonline.com%2F%3CTENANT_ID%3E%2Foauth2%2Fv2.0%2Ftoken%3C%2FTENANT_ID%3E%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3Ewith%20chunked%20http%20encoding%2C%20so%20with%20the%20following%20header%20set%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%3ETransfer-Encoding%3A%20chunked%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3EI%20get%20a%20404%20response.%20Is%20this%20a%20known%20issue%3F%3CBR%20%2F%3E%3CBR%20%2F%3EWhen%20I%20turn%20off%20%22Chunked%20transfer%20encoding%22%20everything%20works%20fine%20and%20I%20get%20a%20200%20response%20with%20the%20expected%20tokens.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello,

When calling the 

oauth2/v2.0/token endpoint

for example like so

https://login.microsoftonline.com/<tenant_id>/oauth2/v2.0/token

with chunked http encoding, so with the following header set

Transfer-Encoding: chunked

I get a 404 response. Is this a known issue?

When I turn off "Chunked transfer encoding" everything works fine and I get a 200 response with the expected tokens.

 

0 Replies