iXyles / fortnite-basic-api

Basic Fortnite API for stats with async/await, and basic communicator
MIT License
52 stars 10 forks source link

Cannot login #36

Closed PomegranateApps closed 3 years ago

PomegranateApps commented 3 years ago

I'm receiving this message when I try to login.

[getOAuthToken] Cannot proceed login because CAPTCHA rate limit: talon

PomegranateApps commented 3 years ago

Can you help me understand why I am getting this error?

iXyles commented 3 years ago

The issue is coming from Epic because they have enforced CAPTCHA on all login requests. The regular login auth with email & password is not a good way to do it anymore. And no sorry I do not have a good workaround for this, it is better to look for other ways to authenticate or just make it possible to pass in a valid exchange code to generate the device tokens as described in one of the samples.

PomegranateApps commented 3 years ago

Ok, thanks for letting me know! What are others doing like Fortnite Tracker to circumvent this?

iXyles commented 3 years ago

They have generated "device tokens" which can be done with the lib, if you supply an exchange code manually instead of using the "login" sequence

PomegranateApps commented 3 years ago

How do you get the exchange code? I tried the instructions in the Readme but the link gives me this error.

Cannot GET /id/api/exchange

PomegranateApps commented 3 years ago

Ok, I was able to get the exchange code and generate the device auths. How do I get the access token?

edsson-madrigal commented 3 years ago

Ok, I was able to get the exchange code and generate the device auths. How do I get the access token?

How did you get the exchange code? im getting Cannot GET /id/api/exchange

thank you