gogcom / galaxy-integrations-python-api

NOTE: Please report here only issues related to the python API. Issues and general feedback regarding the Galaxy Client 2.0 shall be sent via Galaxy Client menu
MIT License
1.27k stars 227 forks source link

Can't sync EA app #208

Open manish663 opened 1 year ago

manish663 commented 1 year ago

Origin is discontinued, now I can't sync anything

Please update this

killsting commented 1 year ago

Please update EA login, we need it!!

GhostOfJericho72 commented 1 year ago

Yes please

gnagga commented 1 year ago

+1

YayoKB commented 1 year ago

+1

Semicirculus commented 1 year ago

+1

CharlieTunafish commented 1 year ago

+1

Brockenstein commented 12 months ago

+1

LittleFreak commented 11 months ago

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

lonewolf0708 commented 11 months ago

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 11 months ago

Can't login Screenshot 2023-10-19 043013

ramazansancar commented 11 months ago

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 11 months ago

Is there going to be an update fix for the integration or we have to manually fix it every time? 😕

ramazansancar commented 11 months ago

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

leonpajuelo commented 7 months ago

Can't login Screenshot 2023-10-19 043013

It works! Thank you!

GKid94 commented 6 months ago

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

dennisklad commented 5 months ago

image Same here.

plarmbuss commented 5 months ago

same for me ;/

RaizerLeaf commented 4 months ago

+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.

cHiMeRa83 commented 4 months ago

works Download this https://github.com/FriendsOfGalaxy/galaxy-integration-origin/releases/download/v0.40/windows.zip

Replace in %localappdata%\GOG.com\Galaxy\plugins\installed\origin , and replace the plugin.py with https://github.com/gogcom/galaxy-integrations-python-api/files/12849055/plugin.zip

GKid94 commented 4 months ago

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

phreeze83 commented 3 months ago

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..

TheBrokenG0d commented 3 months ago

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.

tryingtokeepup commented 2 months ago

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!

phreeze83 commented 2 months ago

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