For those who are having difficulty logging in using the Apple method, try changing your default browser. Before, I was trying to log in using Brave and it was giving me an error, but when I switched to Chrome it worked at first and loaded my account.