I'm trying to use MS-OFBA to authenticate Word and Excel documents before editing them on a web server (.Net-Core) that they're hosted on. However, after authenticating with MS-OFBA and receiving the authentication cookie Word doesn't send the cookie in subsequent OPTIONS requests (it does send it in some other requests so I can tell that it has received the cookie). As such, the web server has no way of telling whether word is authenticated or not and it gets stuck in a loop of asking word for credentials.
The MS-OCPROTO specification says this is expected behavior in one section (2.1.2.1.2.2) and then contradicts itself and says OPTIONS requests do send cookies in another (3.1). Given that I'm not receiving cookies I assume that section 2.1.2.1.2.2 is the correct section. If that's the case then how is it ever possible to authenticate word using MS-OFBA (which is specifically made for authenticating office)?
Has anyone ever used MS-OFBA to authenticate word before and if so how did you detect if word was authenticated when it doesn't send cookies on OPTIONS requests? Is there a way of using MS-OFBA so that word sends authentication outside cookies?
I'm super stuck on this so I'd be incredibly grateful for any help or pointers in the right direction