We are also facing the same problem since June 20 2025, we have double checked the configurations multiple times and it still reported "invalid_client"
Recently, there are other 17 developers also facing this problem, we think it's apples fault: https://developer.apple.com/forums/thread/789011
and looks like this problem is not happen at first time: https://developer.apple.com/forums/thread/675742