Hi,
I know Linux/Wine is not officially supported, but I think I’ve run into a bug (or at least an undocumented limitation) in Simlink’s OAuth flow that might be helpful to document or confirm.
### Environment
- OS: Linux Mint (up to date)
- Navigraph Simlink version: 1.1.40.1707
- I have tried two different Wine setups:
1. Proton/Wine prefix from Steam (MSFS compatdata prefix)
2. Separate Wine prefixes using system `wine` on Linux with `winbind` / `ntlm_auth` installed
In both cases the behaviour is identical.
### What I do
1. Start Simlink inside a fresh Wine prefix.
2. Click **“Sign In”** in the Simlink window.
3. My default Linux browser opens `https://identity.api.navigraph.com/login`.
4. I enter my Navigraph credentials and successfully get the **“You’re Signed In”** page.
5. The browser then shows the dialog
**“Open Navigraph Charts?” / “Choose other application”**
(which makes sense on Windows/macOS where the Navigraph Charts desktop app exists).
6. I cannot open Charts as a desktop app on Linux, so I simply keep or close the tab.
From the user perspective, the login looks successful.
### What happens then
- Back in Simlink, the status never changes to “connected”.
- Navigraph Charts (web, charts.navigraph.com) always shows
**“Simlink could not connect to simulator, Simlink needs to be running”**.
- In my Navigraph account I do not see any Simlink device or connected app after completing the flow.
### Local files in the Wine prefix
In both Wine setups (Proton prefix and system wine), Simlink creates:
- `C:\Users\<user>\AppData\Roaming\Navigraph\Simlink\logs\simlink_2025-11-30.dlog`
- `C:\Users\<user>\AppData\Roaming\Navigraph\Simlink\.mapping` (0 bytes)
- `C:\Users\<user>\AppData\Roaming\Navigraph\Simlink\.path` (55 bytes)
There are **no token or configuration files** (no `settings.json`, no token file, etc.).
So it looks like Simlink never stores any OAuth tokens in this environment.
### Logs
`simlink_2025-11-30.dlog` only contains lines like:
```text
[2025-11-30 17:19:26] [1.1.40.1707] [INFORMATION] Configuration (Charts) file or folder is missing. Recreated!
[2025-11-30 17:19:28] [1.1.40.1707] [INFORMATION] OIDC_refresh_tokens_CALL
[2025-11-30 17:19:28] [1.1.40.1707] [INFORMATION] OIDC_start_hybrid_flow_CALL
[2025-11-30 17:20:20] [1.1.40.1707] [INFORMATION] OIDC_refresh_tokens_CALL
[2025-11-30 17:20:20] [1.1.40.1707] [INFORMATION] OIDC_start_hybrid_flow_CALL
...
And when running Simlink with console output in this Wine prefix, I only see:
text
Copy
Opening default system browser…
There is never any log entry indicating that an OAuth token was received, processed or stored, and no error code is written either.
Interpretation
From what I can see:
-
The OAuth flow starts correctly (browser opens, credentials are accepted, “You’re Signed In” page is shown).
-
But the callback/response with the tokens is never processed by Simlink under Wine, so:
-
no token/config files are written under
Roaming\Navigraph\Simlink, and -
the Navigraph backend never sees this Simlink client as authenticated/connected.
-
Questions
-
Is there any known limitation or requirement for Simlink’s OAuth flow that assumes the browser is part of the same Windows environment (e.g. custom URL handler, local loopback, etc.) that Wine might be breaking?
-
Is there any way to make Simlink log more detailed OAuth error information (e.g. if a callback fails, wrong scheme, timeouts, etc.)?
-
Even if Linux/Wine is not supported, it would be very helpful to know if this behaviour (no tokens being stored after “You’re Signed In”) points to a specific expected step that cannot work when the browser is external.
Thanks a lot for any hints or clarification. I’m happy to test specific builds or logging options if that helps.
I’m running MSFS itself under Proton/Steam on Linux; everything else (SimBrief, Charts web, etc.) works fine – it’s only Simlink’s OAuth that I can’t get to complete.