LeleDerGrasshalmi / FortniteEndpointsDocumentation

Fortnite & Epic Games Unofficial API Documentation
267 stars 70 forks source link

Token #327

Closed ad1txx1 closed 2 weeks ago

ad1txx1 commented 1 month ago

Issue Checklist

What is your question?

This might sound like a dumb question but, in order to create an exchange code (https://account-public-service-prod.ol.epicgames.com/account/api/oauth/exchange) i need in my headers to have a valid EG1~ Bearer. Now i can manually get it intercepting requests when opening the launcher, but i cant seem to find the request that generates that bearer, and i cant find anything in your docs. Can you please tell me if its possible and if so, if its in your docs?

ad1txx1 commented 1 month ago

or, is it possible to get an exchange token any other way other than /account/api/oauth/exchange ?

LeleDerGrasshalmi commented 1 month ago

hi, check the getting started guide, that uses authorization codes for authentication.

you could then use that token to generate an exchange code

https://github.com/LeleDerGrasshalmi/FortniteEndpointsDocumentation/blob/main/EpicGames/AccountService/Authentication/README.md#getting-started

LeleDerGrasshalmi commented 2 weeks ago

stale/resolved