The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
Thank you for posting question to Microsoft Q&A forum.
Please note that this is user to user forum, moderators do not have access to backend system, so I am limited to give instructions based on official documents.
At the moment, I have not found any official document confirm this is an expected behavior.
You can check out this article Extract authentication parameters from WWW-Authenticate headers - Microsoft Authentication Library … for more information how to extract the header.
You also mentioned this issue only started recently; you can try waiting for more few days to check if it is back to normal.
Please let me know if you need anything else.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.