Hi @Anonymous • Thank you for reaching out.
The reply URL specifies, which URL the token (after successful authentication) should be posted to. The value of the redirect_uri
parameter in the Authentication request must match with on of the Redirect URIs registered in the application. If there is a mismatch, the error AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application
occurs.
In your case, if the redirect_uri parameter in the authentication request (generated by either Node A or Node B) includes the same URL e.g. https://LB.example.com/landing, it will be matched against the Redirect URIs registered in the application. Now, regardless of whether the request is forwarded by the load balancer to node A or B, you will not get the AADSTS50011 error.
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.