I’m opening a link secured by Auth0 from a Microsoft Office product like Word, PowerPoint, Excell. The link fails to redirect the user to the correct URL after the authentication as the RelayState parameter for SAML protocol is lost. If I open the same link on a browser, everything works.
This is a known issue with Microsoft products. Part of the network calls are performed on a process running for the Office, and the redirection to the browser later causes double calls for the /login endpoint, causing the Auth0’s internal state to be lost. There are some workaround solutions on the Web which you may evaluate.