gogcom/galaxy-integrations-python-api

Can't sync EA app

manish663 opened this issue ยท 32 comments

Origin is discontinued, now I can't sync anything

Please update this

Please update EA login, we need it!!

Yes please

gnagga commented

+1

YayoKB commented

+1

no need to spam +1, just give it a thumbs up in the OP above ;)

I have updated the code on a fork of https://github.com/FriendsOfGalaxy/galaxy-integration-origin. The fix is to open
%localappdata%\GOG.com\Galaxy\plugins\installed\origin_ {UNIQUE-ID-STRING} and replace plugin.py with the one in this zipped file.
plugin.zip

GKid94 commented

Can't login
Screenshot 2023-10-19 043013

I have updated the code on a fork of https://github.com/FriendsOfGalaxy/galaxy-integration-origin. The fix is to open %localappdata%\GOG.com\Galaxy\plugins\installed\origin_ {UNIQUE-ID-STRING} and replace plugin.py with the one in this zipped file. plugin.zip

This worked thank you
Only AUTH_PARAMS updated.

GKid94 commented

Is there going to be an update fix for the integration or we have to manually fix it every time? ๐Ÿ˜•

Is there going to be an update fix for the integration or we have to manually fix it every time? ๐Ÿ˜•

Repo seems to have been dormant for a long time. GOG needs to do something about this. @goggalaxy

Can't login Screenshot 2023-10-19 043013

It works! Thank you!

@mbanczerowski Can you please fix this already we are waiting for months?

image
Same here.

same for me ;/

+1 on this. We really need to get the origin repo updated or they start a new repo for the EA Client specifically. I understand its a community integration but considering how GOG was pushing these community integrations its crazy how unusable some of them are nowadays.

This needs to be changed in the code, what if someone uses the Galaxy client and doesn't have GitHub

i am able to login, but the window does not disappear but looks like the webpage and wants me to sign up for an EA Plan for xx $ / month; i just want it to login and do nothing more..

i am able to login, but the window does not disappear but looks like the webpage and wants me to sign up for an EA Plan for xx $ / month; i just want it to login and do nothing more..

Just connected and It only had the login box and then went away. No EA Plan for me.

Seems like the only real change you need to do is to go to the install location for your Origin integration (the one you "install" when on the GOG Galaxy app)

(uuid after "origin_" should be unique, but that wasn't true for the steam integration, so adding it on)

%localappdata%\GOG.com\Galaxy\plugins\installed\origin_7f53219b-4e2b-4591-9f4f-dfc5f4ba9eb0

and then open up plugin.py

and replace lines 38-47 with the following (only things changed are the client_id and some of the uris.

AUTH_PARAMS = {
"window_title": "Login to EA Play",
"window_width": 495 if is_windows() else 480,
"window_height": 746 if is_windows() else 708,
"start_uri": "https://accounts.ea.com/connect/auth"
"?response_type=code&client_id=EADOTCOM-WEB-SERVER&display=junoWeb/login"
"&locale=en_US&release_type=prod"
"&redirect_uri=https://www.ea.com/ea-play",
"end_uri_regex":r"^https://www\.ea\.com/ea-play.*"
}

Confirm this at your leisure, and make sure the above is not sending you to a malicious link. This fixed it for me!

retried again and it's magically working now, didn't change anything since the last try