ferdium / ferdium-app

All your services in one place, built by the community
https://ferdium.org
Apache License 2.0
2.75k stars 163 forks source link

Latest update breaks Okta auth for managed devices #1845

Open OldhamMade opened 1 month ago

OldhamMade commented 1 month ago

Avoid duplicates

Ferdium Version

6.7.5

What Operating System are you using?

macOS

Operating System Version

14.5 (23F79)

What arch are you using?

x64

Last Known Working Ferdium version

6.7.4

Expected Behavior

Authenticating via Okta with a managed device is successful, and the app (for example, Gmail) opens successfully.

Actual Behavior

Authenticating via Okta with a managed device is unsuccessful, and Okta reports a DENY response for the managed device.

Steps to reproduce

Not sure whether this is something that could be reproduced by developers without working for a company with managed devices and Okta. I'll be happy to test new versions though.

Debug link

No response

Screenshots

No response

Additional information

From what we can tell from the logs, version 6.7.5 of Ferdium isn't providing device information to Okta, and any authentication steps that check managed device status therefore fail. Rolling back to 6.7.4, the process works as expected and Okta shows the device details in the logs. This is the first time I've experienced this issue in the last 12 months using Ferdium on a managed device.

Checking the diff, nothing is particularly standing out as a cause, though I'm not too familiar with the project or nodejs development in general. Still, I can't see any auth libs that have changed versions which could lead to a cause.

BrentLayne commented 1 month ago

+1 also hitting this issue on 6.7.5, and can confirm reverting back to 6.7.4 fixes the issue