IsmaelMartinez / teams-for-linux

Unofficial Microsoft Teams for Linux client
GNU General Public License v3.0
2.95k stars 240 forks source link

Set Platform String in Config.json #1391

Closed 3wweiweiwu closed 2 months ago

3wweiweiwu commented 2 months ago

Is your feature request related to a problem? Please describe. My company IT enable 2 factor authentication. The authentication application we used only allow windows, Mac. For browser version of teams, I can emulate my browser as Windows. However, I cannot do the same in team for linux. As a result, I cannot use team client.

I believe that my 2FA authentication use 2 ways to determine the platform, one is navigator.userAgent (Can be set), the other way is navigator.platform (cannot be set).

Describe the solution you'd like Add a option to allow user to set navigator.platform to Windows

Describe alternatives you've considered n/a

Additional context I find some potential solution online. Hope this will help.

https://stackoverflow.com/questions/2166540/how-can-i-fool-a-site-that-looks-at-the-javascript-object-navigator-to-see-tha/2166671#2166671

3wweiweiwu commented 2 months ago

close this thread as .platform does not solve the problem.