I am unable to get Firefox on Linux to authenticate with OKTA OAUTH2 with office 365. I always get the error: Secure Connection Failed PR_END_OF_FILE_ERROR with login.microsoftonline.com.office.prod.XXX.myshn.net. Note that Chrome works fine so this issue appears to be specific to Firefox. My distro is running Firefox 128.6.0esr. This worked a month ago. Both Firefox (webmail) and Thunderbird fail the same way.
I need this to use Thunderbird email for my employer.
Here are the methods I have tried to deal with PR_END_OF_FILE_ERROR:
- Using -safe-mode
- Using my work VPN or not does not make any difference
- No extensions or plugins are installed
- No proxies are used
- Disabling security.ssl.enable_ocsp_stapling did not help
- Adding exceptions to network.automatic-ntlm-auth.trusted-uris
- DNS over HTTPS is disabled
I've gone so far as to totally erase all firefox configuration data to start from scratch, so no extensions, and this also fails.
I have tried both entering the code provided by my phone as well as the push notification support on my phone. Once I complete this I get the PR_END_OF_FILE_ERROR.
Note that this does work in Windows, however. On Windows my work laptop has a special work-related certificate installed on it but which is missing in Linux, but on Linux Chrome works despite complaining about a missing certificate, and no, I've been fighting our IT department to get said certificate for Linux but they don't understand I run Linux to write software for Linux.