1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-22 03:40:46 +03:00

Troubleshooting: Issue for Frontier Auth with multiple computers for same User/Client

Athanasius 2022-08-10 12:17:38 +01:00
parent ebcf8715f5
commit 7bce8a358e
No known key found for this signature in database
GPG Key ID: 8C392035DD80FD62

@ -63,6 +63,7 @@ Then to add it back :GenTocRedCarpet
* [Error: User not found](#error-user-not-found)
* [Error: Missing credentials](#error-missing-credentials)
* [Frontier CAPI query failure: /profile (or /market, or /shipyard)](#frontier-capi-query-failure-profile-or-market-or-shipyard)
* [I sync Journals between two or more computers, and have to re-auth on each switch](#i-sync-journals-between-two-or-more-computers-and-have-to-re-auth-on-each-switch)
* [Chrome complains after approving on Frontier's site](#chrome-complains-after-approving-on-frontier-39-s-site)
* [Third Party Site Plugins (EDSM, EDDB, Inara)](#third-party-site-plugins-edsm-eddb-inara)
* [Credentials settings are greyed out](#credentials-settings-are-greyed-out)
@ -642,6 +643,36 @@ Frontier's end.
<!-- vim-markdown-toc Redcarpet -->
<a name='i-sync-journals-between-two-or-more-computers-and-have-to-re-auth-on-each-switch'></a>
<!-- vim-markdown-toc -->
## I sync Journals between two or more computers, and have to re-auth on each switch
Ref: [#1632: EDMC needs to re-authenticate every time I switch computers](https://github.com/EDCD/EDMarketConnector/issues/1632)
For a single game account combined with a single 'Client Id' only *one*
authorisation can be active at a time.
What this means in practice is that if
you authenticate on Computer A for Account A with respect to Client A (i.e.
EDMC), then EDMC stores the 'Refresh Token' for future use, and refreshes it
to the new value when used.
If you then authenticate, for Account A with respect to the same ClientA, but
on Computer B, then you will get a *different* Refresh Token, and the one that
Computer A has stored will now be invalid.
Result: Each time you (re-)authenticate on one computer you will be
invalidating tthe other computer's authorization, and the next time it needs
to obtain a new Access Token you will be forced to re-authenticate.
The only workaround for this would be to synchronise the Registry entry:
Computer\HKEY_CURRENT_USER\SOFTWARE\Marginal\EDMarketConnector\fdev_apikeys
between the two computers.
<!-- vim-markdown-toc Redcarpet -->
<a name='chrome-complains-after-approving-on-frontier-39-s-site'></a>
<!-- vim-markdown-toc -->