trydis/FIFA-Ultimate-Team-Toolkit

[Login issue] Forbidden

Closed this issue · 0 comments

Hi mates!

Finally I've some time to develop the toolkit. I've downloaded the latest project and I'm trying to login. As you can imagine I have not been able to do it and I've some questions.

It's weird that no verification code is being request through the toolkit as it does while logging manually in the website.

I've noticed that my code does not follow this redirection:

<script type="text/javascript">

    var closeWindow = false;
    var redirectUri = 'https://signin.ea.com:443/p/web2/login?execution=e408407912s2&initref=https%3A%2F%2Faccounts.ea.com%3A443%2Fconnect%2Fauth%3FaccessToken%3DQVQxOjEuMDozLjA6NjA6bXJ6bExCS1ViZXpnUEdFMEsyT0R5b3oyc2dKTXFVWnpYM286OTA0MDc6bnU5Z3Y%26client_id%3DFIFA-18-WEBCLIENT%26response_type%3Dtoken%26display%3Dweb2%252Flogin%26locale%3Des_ES%26redirect_uri%3Dhttps%253A%252F%252Fwww.easports.com%252Fes%252Ffifa%252Fultimate-team%252Fweb-app%252Fauth.html%26scope%3Dbasic.identity%2Boffline%2Bsignin';

        redirectUri = redirectUri + "&_eventId=end";


    if ( window.opener && closeWindow) {
        window.opener.location = redirectUri;
        self.close();
    } else {
        window.location = redirectUri;
    }

</script>

Then, my code breaks here:

LoginResponse.AuthData = await AuthAsync();

Any ideA?