Authentication object was not found in the SecurityContext

Hello,

POST : URL TOKEN
{
“:region”: “eu”,
“grant_type”: “authorization_code”,
“code”: “XXXXXXXXXXXXXXXXXXXXX”,
“redirect_uri”: “URL/XXXXXX”,
“client_id”: “XXXXXXXXXXXXX”
}

Result

{
“error”: “unauthorized”,
“error_description”: “An Authentication object was not found in the SecurityContext”
}

Same issue : url-forum/en/blizzard/t/oauth-token-api-unauthorized/11029

I’m not ok with the solution. I follow battle net documentation to retrieve the token : Blizzard Battle.net Developer Portal

Normaly, we need just pass the code with token post data. We don’t need add clientId and secretId in header basic authorization.