FIFA-Ultimate-Team-Toolkit icon indicating copy to clipboard operation
FIFA-Ultimate-Team-Toolkit copied to clipboard

Is this still working?

Open caiorodrig0 opened this issue 6 years ago • 6 comments

I am having problems with login.

Everytime i try, i get this exception: "Two Factor Code MUST be 6 digits long WebApp."

Can someone help?

caiorodrig0 avatar Oct 30 '18 20:10 caiorodrig0

Did you received the EA code and typed in?

marlonespindola avatar Oct 30 '18 21:10 marlonespindola

No, can you help me?

caiorodrig0 avatar Nov 06 '18 17:11 caiorodrig0

did you try the solution from #401 for me it worked.

marlonespindola avatar Nov 06 '18 17:11 marlonespindola

Yeah, my method is like this:

protected async Task<HttpResponseMessage> SetTwoFactorTypeAsync(HttpResponseMessage mainPageResponseMessage) { var loginResponseMessage = new HttpResponseMessage(); var contentData = string.Empty;

        if (_authType == AuthenticationType.Email)
        {
            loginResponseMessage = await HttpClient.PostAsync(mainPageResponseMessage.RequestMessage.RequestUri, new FormUrlEncodedContent(
                                                                                                                        new[]
                                                                                                                        {
                                                                                                                        new KeyValuePair<string, string>("codeType", "EMAIL"),
                                                                                                                        new KeyValuePair<string, string>("_eventId", "submit"),
                                                                                                                        }));
        }
        else
        {
            loginResponseMessage = await HttpClient.PostAsync(mainPageResponseMessage.RequestMessage.RequestUri, new FormUrlEncodedContent(
                                                                                                                        new[]
                                                                                                                        {
                                                                                                                        new KeyValuePair<string, string>("_eventId", "submit"),
                                                                                                                        new KeyValuePair<string, string>("codeType", "EMAIL"),
                                                                                                                       // new KeyValuePair<string, string>("codeType", "APP"),
                                                                                                                        }));
        }

        return loginResponseMessage;
    }

but still didnt work properly =/

caiorodrig0 avatar Nov 06 '18 17:11 caiorodrig0

Ok, its working now.. but i get this error atm

Could not find member 'onlineAccess' on object of type 'Persona'. Path 'userAccountInfo.personas[0].onlineAccess', line 1, position 115

do you know how to fix it?

caiorodrig0 avatar Nov 06 '18 17:11 caiorodrig0

See https://github.com/trydis/FIFA-Ultimate-Team-Toolkit/issues/394#issuecomment-415378139

trydis avatar Nov 06 '18 23:11 trydis