33.12.9 The Access Token Does Not Get Exchanged with Authorization Code When Using a Multi-Node Identity Server Cluster

In a multi-node cluster setup when a client requests for an authorization code, an Identity Server node verifies the client and issues the code. When the client requests for token using the authorization code and if the request is sent to another node, it can send the HTTP 400 Bad Request error message.

To avoid getting the error when exchanging the authorization code for token, you must disable the Expect: 100-Continue header from the request.