MixV2 / EpicResearch

Research about Epic Games' non-documented API
341 stars 86 forks source link

Can't Authenticate by Exchange Code #78

Open mjwellhacks opened 2 years ago

mjwellhacks commented 2 years ago

I am trying to authenticate by exchange code. I don't know how to make the authentication header and I am not sure what needs to be in it.

Firestormfan commented 2 years ago

Authorization: bearer (Your Access token) requests.get("https://account-public-service-prod.ol.epicgames.com/account/api/oauth/exchange", headers={"Authorization":"bearer youraccesstoken"}).json()

Beat-YT commented 2 years ago

I create a postman colletion, check it out:

https://www.postman.com/beatyt-team/workspace/epicresearch/request/13294264-82783a33-3266-492b-8925-2283328200ea